简体   繁体   中英

gunicorn - up and running but doesn't respond

I've been running my python server side with gunicorn for awhile and it worked perfectly

today it stopped returning results for some api calls, I pkill gunicorn and run with debug as python manage.py runserver 0.0.0.0:xxxx everything works fine

I have 2 questions:

  1. is there a way to create a log file of calls (like the output of runserver)
  2. is there a way to monitor my server?

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

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

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