question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Upgrade to gRPC 1.46 once it's released (which fixes fork support)

See original GitHub issue

Search 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:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:30 (21 by maintainers)

github_iconTop GitHub Comments

10reactions
vakkercommented, Feb 23, 2022

@HeyItsBethany3 I just downgraded to grpcio==1.43, which is a workaround until there’s a more fundamental fix.

3reactions
pcmoritzcommented, Mar 5, 2022

For some reason, this is one of the top viewed pages on github:

Screen Shot 2022-03-05 at 9 46 34 AM
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found