简体   繁体   中英

Gunicorn is timeout and no logs in error files

I am running django application serving with nginx and gunicorn in supervisor,I am getting gunicorn timeout errors in gunicorn error logs but don't know what causing the errors.

2018-10-01 20:20:19 [20529] [CRITICAL] WORKER TIMEOUT (pid:20646)
2018-10-01 20:20:19 [23948] [INFO] Booting worker with pid: 23948

Is there a way we can configure gunicorn to write logs entry before the gunicorn process is timeout and killed ?

您可以尝试将超时值增加到大于默认30秒的值

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM