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