[Bug] Upgrade to gRPC 1.46 once it's released (which fixes fork support)
See original GitHub issueSearch before asking
- I searched the issues and found no similar issues.
Ray Component
Ray Core
What happened + What you expected to happen
With the new 1.44.0 grpcio package there’s an error message:
E0219 11:51:45.606983573 985146 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies
E0219 11:51:45.717404158 985146 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies
2022-02-19 11:51:46,630 INFO services.py:1338 -- View the Ray dashboard at http://127.0.0.1:8265
E0219 11:51:46.633503280 985146 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies
E0219 11:51:46.638523511 985146 fork_posix.cc:70] Fork support is only compatible with the epoll1 and poll polling strategies
Repro script:
import ray
ray.init()
Versions / Dependencies
Tested with Ray ~1.9 and ~1.10 on an Ubuntu 20.04. This was introduced by grpcio 1.44 (tested it with 1.43 and 1.42, those don’t have this issue).
Reproduction script
See above.
Anything else
The ERROR log was changed to INFO in this PR: https://github.com/grpc/grpc/pull/17341 Then it was changed back in this PR: https://github.com/grpc/grpc/pull/28566
I don’t know if this is an upstream issue or this has any implications to Ray that was masked previously by the INFO log.
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:30 (21 by maintainers)
Top Results From Across the Web
E0304 14:42:15.115385459 221 fork_posix.cc:70
Some discussion here: [Bug] Upgrade to gRPC 1.46 once it's released (which fixes fork support) · Issue #22518 · ray-project/ray · GitHub.
Read more >Quick start | Python - gRPC
This guide gets you started with gRPC in Python with a simple working example.
Read more >FreshPorts -- devel/grpc: HTTP/2-based RPC framework
gRPC is a modern, open source, high-performance remote procedure call (RPC) framework that can run anywhere, enables client and server applications to ...
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
Bug listing with status RESOLVED with resolution FIXED as at 2022/12/17 06:46:03. Bug:2 - "How do I attach an ebuild." status:RESOLVED resolution:FIXED ......
Read more >gRPC Changelog - PECL - PHP
1.46.0RC2, - gRPC Core 1.46.0 update ... update - Fix crash in subprocess after fork() #22774 ... 1.17.0RC3, - Fork support for gRPC...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@HeyItsBethany3 I just downgraded to grpcio==1.43, which is a workaround until there’s a more fundamental fix.
For some reason, this is one of the top viewed pages on github: