Django Gunicorn supervisor服务正在自动重新启动nginx

Django Gunicorn supervisor服务正在自动重新启动nginx,django,nginx,gunicorn,supervisord,Django,Nginx,Gunicorn,Supervisord,我在保持服务持续运行方面遇到了麻烦 我的工作名称 [group:job_name] programs=gunicorn_job_name [program:gunicorn_job_name] command=/var/www/job_name/bin/gunicorn_django -c gunicorn.conf.py -p gunicorn.pid directory=/var/www/job_name/project user=root autostart=true autoresta

我在保持服务持续运行方面遇到了麻烦

我的工作名称

[group:job_name]
programs=gunicorn_job_name

[program:gunicorn_job_name]
command=/var/www/job_name/bin/gunicorn_django -c gunicorn.conf.py -p gunicorn.pid
directory=/var/www/job_name/project
user=root
autostart=true
autorestart=true
redirect_stderr=true
environment=LANG="en_US.UTF-8",LC_ALL="en_US.UTF-8",LC_LANG="en_US.UTF-8"
当我尝试时:

supervisorctl pid all
    2651
    1613

supervisorctl pid all
    2678
    1613

supervisorctl pid all
    2716
    1613
这里我注意到的是,第一个进程pid在每次点击时都会发生变化。 据我所知,
pid
仅在重新加载
supervisorctl

supervisorctl status
job_name:gunicorn_job_name RUNNING    pid 2847, uptime 0:00:03
gunicorn_ckiller_api RUNNING    pid 1613, uptime 0:19:52

supervisorctl status
job_name:gunicorn_job_name STARTING   
gunicorn_ckiller_api             RUNNING    pid 1613, uptime 0:19:55
我不知道为什么“作业名称”进程会自动重新启动。
这是在不重新加载崩溃伙伴的
supervisorctl

的情况下发生的。检查你的错误日志,你会找到罪魁祸首。。首先添加错误日志,然后查看它们:P--ps,这与
fabric
无关删除哪些日志?我正在检查nginx日志。但是我没有得到任何有用的信息。如果有错误,那么使用命令tail-fstderr检查日志