-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCP Steal/mirror doesn't work with shared sockets #864
Comments
Possible solutions:
|
Please let us know if this is impacting anyone so we can know if we need to prioritize it. |
This would probably affect me if I were not already blocked by this issue |
I'm not blocked by this, but it does affect my productivity. |
Hey, does it still happen to you on latest version? |
I'm running |
Also doesn't work when using Uvicorn with more than one worker process. |
Happening to me on 3.84.1. I am not using the operator. Not sure if that matters. |
Ran into the same issue. Might be worth flagging this in the docs somewhere until its fixed |
I've been exploring this, and here are a few solutions I can think of:
The main issue we have is that our A problem with this solution is that now every
Instead of moving the whole
Delegate more work to the That's it, so far. I'm leaning more towards the 🫏 solution, as 🌎 is a bug waiting to happen, and 🍑 is too big of a pointless refactor. |
🫏 is what would make most sense and is how it works in terms of OS level too. |
Fixed in #2610 |
Looks like the problem is still there on macOS + vscode. |
Bug Description
When a parent process binds a socket, then children sockets listen/accept on that socket mirrord doesn't intercept those calls because the fd isn't managed (doesn't exist in our fork).
Using this issue to document use cases where this happens for now:
--reload
flag.Steps to Reproduce
run with
mirrord exec --target pod/pod uvicorn -- --reload --port 80 main:app
Backtrace
No response
Relevant Logs
No response
Your operating system and version
macOS
Local process
python
Local process version
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: