gunicorn worker getting timeout #1614
Unanswered
mainulquraishi
asked this question in
Q&A
Replies: 1 comment
-
The most common cause for a worker timeout is that you are using blocking code in your application. The solution is to remove or fix the blocking code, not to increase the timeout. |
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
-
Hello,
I am sending a data stream. Sometimes the client getting disconnected but reconnected again.
I looked into
gunicorn
log and it saysworker timeout
then a new worker starts. I don't know, why in the middle of the WebSocket connection, the worker would timeout?
I changed the
gunicorn
--timeout
parameter to 90, I don't know, it will solve the problem, and is this the right way to solve the problem?Beta Was this translation helpful? Give feedback.
All reactions