Zombie Processes with uvicorn multiple workers shutdown #2512
Unanswered
polizogo67
asked this question in
Potential Issue
Replies: 2 comments 1 reply
-
You can use the uvicorn worker for your multiple processes usage.It is so strange to use the multipleprocessing lib directly. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Any Updates on that ? |
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
-
Hi,
I decides that it would be better to use multiple workers with uvicorn for the scalability of my app.
I observed that every time I shut down the server there is a zombie process hanging on the system.
Ubuntu 20.04.6 LTS
Python 3.11.9
uvicorn 0.32.0
fastapi 0.112.0
After a few restarts I have a bunch of zombie processes that only disappear by restarting the system.

It seems like a serious issue for production environments.
Beta Was this translation helpful? Give feedback.
All reactions