自己写了个 Django 项目,部署以后一会儿就出现这个情况,不知不觉就挂了,实在找不到原因啊,有没有大佬给指点一下?
日志信息:
*** uWSGI is running in multiple interpreter mode ***
gracefully (RE)spawned uWSGI master process (pid: 1738)
spawned uWSGI worker 1 (pid: 2499, cores: 1)
spawned uWSGI worker 2 (pid: 2500, cores: 1)
spawned uWSGI worker 3 (pid: 2501, cores: 1)
spawned uWSGI worker 4 (pid: 2502, cores: 1)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x1627770 pid: 2502 (default app)
WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x1627770 pid: 2500 (default app)
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x1627770 pid: 2499 (default app)
WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x1627770 pid: 2501 (default app)
Fri Mar 29 07:12:44 2019 - uWSGI worker 3 screams: UAAAAAAH my master disconnected: i will kill myself !!!
uwsgi.ini 文件:
[uwsgi]
socket=:9000
chdir=/root/python/salary/salary_pro
module=salary_pro.wsgi
master=true
processes=4
vacuum=true
lazy-apps=true
启动命令:
nohup uwsgi --ini uwsgi.ini &