uWSGI worker 3 screams: UAAAAAAH my master disconnected: i will kill myself !

2019-03-29 17:00:12 +08:00
 wxy148616

自己写了个 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 &
2607 次点击
所在节点    Python
5 条回复
Stlin
2019-03-29 17:09:04 +08:00
uwsgi 写入日志

```
daemonize = /project/logs/uwsgi.log
```

然后再去看看
superZzr
2019-03-29 17:29:04 +08:00
虽然没用过 ,但是这个日志 莫名的萌啊
wxy148616
2019-03-29 18:22:34 +08:00
@Stlin 谢谢,我先去试试
Latin
2019-03-29 18:45:34 +08:00
kill 自己,哈哈哈
luofan004
2020-12-08 11:05:24 +08:00
解决了么?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/550013

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX