Exited too quickly (process log may have details)-配置问题


在配置supervisor的时候,提示Exited too quickly (process log may have details),这个时候一脸懵逼,啥回事,执行太快了???

然后仔细看了program块的配置,发现由于自己是在测试,运行的命令是sleep 1,而startsecs设置为3,supervisor认为程序执行太快导致出错,把命令改成sleep 4就可以了

[program:demo]
command=sleep 1
directory=/
autostart=true
startsecs=3
autorestart=true
startretries=3
; user=root
priority=999
redirect_stderr=true
stdout_logfile_maxbytes=20MB
stdout_logfile_backups = 20
stdout_logfile=/tmp/supervisord/demo.log
stopasgroup=false
killasgroup=false


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 supervisord 报错 FATAL Exited too quickly (process log may have details) .net core3.1 webapi项目部署在centos7中,通过supervisor来做进程守护遇到backoff Exited too quickly (process log may have details)的错误--并提供解决方法 Job for dhcpd.service failed because the control process exited with error code. See "systemctl status dhcpd.service" and "journalctl -xe" for details.问题 【问题管理】 -- RabbitMQ启动时报错:Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbl -xe" for details. Celery 出现Process 'Worker-5' pid:5608 exited with 'exitcode 1' 问题 kali linux重启网卡失败:Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. 问题排查 service mysql start ,出现错误Job for mysql.service failed because the control process exited process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. centos7启动MySQL报 Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details. Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM