小编Rat*_*Don的帖子

如何解决主管中的“进入致命状态,太多开始重试太快”

我只是用简单的程序配置来测试我的主管:

[program:test]
command=python -c "print 'hello'"
autostart=true                
autorestart=true
exitcodes=1
user=ratdon
stdout_logfile=/opt/log/test.log
stderr_logfile=/opt/log/test.log
Run Code Online (Sandbox Code Playgroud)

启动我的 Supervisord 作为sudo supervisord -n -c /opt/supervisord.conf &. 但产卵几次后,它又停止产卵了。

2016-02-01 11:17:58,973 CRIT Supervisor running as root (no user in config file)
2016-02-01 11:17:58,973 WARN Included extra file "/opt/test.ini" during parsing
2016-02-01 11:17:58,994 INFO RPC interface 'supervisor' initialized
2016-02-01 11:17:58,994 CRIT Server 'inet_http_server' running without any HTTP authentication checking
2016-02-01 11:17:58,995 INFO supervisord started with pid 19644
2016-02-01 11:17:59,998 INFO spawned: 'test' with pid 19648
2016-02-01 11:18:00,026 …
Run Code Online (Sandbox Code Playgroud)

supervisord

6
推荐指数
1
解决办法
7万
查看次数

标签 统计

supervisord ×1