自己写了个 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] 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 &
uwsgi.log日志信息
...brutally killing workers... Gracefully killing worker 2 (pid: 2778)... Gracefully killing worker 1 (pid: 2777)... Gracefully killing worker 3 (pid: 2779)... Gracefully killing worker 4 (pid: 2780)... worker 1 buried after 1 seconds worker 2 buried after 1 seconds worker 3 buried after 1 seconds worker 4 buried after 1 seconds binary reloading uWSGI...
![]() | 1 Stlin 2019-03-29 17:09:04 +08:00 uwsgi 写入日志 ``` daemOnize= /project/logs/uwsgi.log ``` 然后再去看看 |
2 superZzr 2019-03-29 17:29:04 +08:00 虽然没用过 ,但是这个日志 莫名的萌啊 |
![]() | 4 Latin 2019-03-29 18:45:34 +08:00 kill 自己,哈哈哈 |
![]() | 5 luofan004 2020-12-08 11:05:24 +08:00 解决了么? |