Killing main process doesn't kill the workers #3515
Unanswered
LucaNicosia
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
which command do you send for kill ? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Any updates on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi everyone.
I'm building a REST server using FAST-API + gunicorn with uvicorn workers (didn't test with other worker classes)
I started sending process kills to the processes to see how it behaves.
I noticed that the workers are spawned right away after the are killed (as expected)
Killing the main process instead, causes the workers to stay alive.
Is there a way to fix this problem?
How to reproduce
Beta Was this translation helpful? Give feedback.
All reactions