22 Dec
2021
22 Dec
'21
6:50 p.m.
On 12/21/21 4:42 PM, dancab@caltech.edu wrote:
I'm considering the settings below for gunicorn.cfg
[gunicorn]
OK
# No of seconds to wait before killing the worker processes. graceful_timeout = 600
I don't think this is relevant. It only affects the delay before killing a worker when gunicorn is restarted, but I suppose it won't hurt.
# Timeout for the requests. timeout = 900
I wonder if this is really the issue. Do you have tracebacks from these timeouts? I think there may be something else causing this that increasing the timeout won't solve. Maybe some database locking deadlock or similar issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan