Possible causes of WORKER TIMEOUT #3065
Unanswered
dbartenstein
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello 👋! After doing quite some research, we today deployed the following configuration on our servers: Additional notes:
I’ll keep you posted about the success of this new configuration. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Gunicorn community! 👋
Today WORKER TIMEOUTs happened on our server. There was pretty high load due to many webhook events being processed and after a while Gunicorn workers started to fail with WORKER TIMEOUT (see log below).
Our Gunicorn configuration:
gunicorn --workers 5 --worker-connections=1000 --worker-class=gevent --bind localhost:8000 --disable-redirect-access-to-syslog
Questions:
timeout
be set explicitly when using gevent, e.g.--timeout 600
?max-requests
as recommended by Adam? https://adamj.eu/tech/2019/09/19/working-around-memory-leaks-in-your-django-app/Last update to psycogreen was in 2022.
Grateful for any hints and recommendations! 🙇
/var/log/syslog:
Beta Was this translation helpful? Give feedback.
All reactions