-
Notifications
You must be signed in to change notification settings - Fork 1.5k
uv run not stopping ray serve with ctrl c #10952
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
Comments
I was unable to repro---C-c seemed to shutdown the server for me
|
I can reproduce
@ericmarkmartin are you on macOS? |
No, WSL. Sorry, should have mentioned up front |
Same poster as OP (personal account) |
Doing some debugging... The process tree looks like
Since a SIGINT to the immediate child works, I'm surprised that Ctrl-C is not working as intended. My understanding is that a shell usually sends a SIGINT to children. |
Ah interesting Ray is creating a new process group
|
Summary
Hello, I'm trying to use uv in conjuction with Ray locally. When starting a ray serve application I'm unable to stop the program with Ctrl-c as I normally would.
Simple example
Doing ctrl c here does nothing
This will shut down the server like normal.
Ray version: 2.41.0
Platform
macOS Darwin 23.5.0 arm64
Version
0.5.24
Python version
Python 3.12.7
The text was updated successfully, but these errors were encountered: