[英]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. 我正在主管中运行带有nginx和gunicorn的django应用程序,我在gunicorn错误日志中遇到了gunicorn超时错误,但不知道是什么原因导致了错误。
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 ? 有没有一种方法可以配置gunicorn,以便在gunicorn进程超时并被杀死之前写入日志条目?
您可以尝试将超时值增加到大于默认30秒的值
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.