繁体   English   中英

gunicorn-启动并运行,但没有响应

[英]gunicorn - up and running but doesn't respond

我已经用gunicorn运行我的python服务器端一段时间了,它运行良好

今天它停止返回一些api调用的结果,我pkill gunicorn并以python manage.py runserver 0.0.0.0:xxxx运行调试,一切正常

我有两个问题:

  1. 有没有一种方法可以创建调用的日志文件(例如runserver的输出)
  2. 有没有办法监视我的服务器?

使用--log-file=-在命令行(stderr)中输出错误,例如:

gunicorn base.wsgi -c config.conf --log-file=-

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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