HiïŒsorryïŒ
this is supervisord.conf ïŒ
[program:gmcServer]
redirect_stderr = true
stderr_logfile = /usr/local/logs/gmcServer_stderr.log
command = /usr/local/gmcServer/gmcServer
autostart = false
directory = /usr/local/gmcServer
autorestart = true
stdout_logfile = /usr/local/logs/gmcServer_std.log
I already set autorestart.
process :
I used supervisord to watch the golang progress .
when the progress crashed,supervisord did not attempt to start the progress.
but when I manually killed the golang progress, supervisord can watch the golang progress ,and restart the progress
supervisord log was not abnormal information and no restart record
蜯件ç åéš åŒ å
å»·
çµè¯ïŒ0512-69567776-8584
çœåïŒhttp://www.codyy.com
å°åïŒèå·å·¥äžååºå¯æ£è·¯8å·å¯äºç§æåäžå€§åŠ7楌
From: Mikko Ohtamaa
Date: 2017-10-26 16:37
To: ***@codyy.com
CC: supervisor-users
Subject: Re: [Supervisor-users] When Golang progress crashed, supervisord did not attempt to start the progress
Hi,
To answer this question we'd need information like 1) what process 2) what config 3) logs etc. 4) does supervisor work for other processes in your system. Currently we cannot answer because we have not enough information what are you doing with Supervisor.
Best regards,
Mikko
On 26 October 2017 at 09:03, ***@codyy.com <***@codyy.com> wrote:
Excuse me ïŒ
I used supervisord to watch the golang progress .
when the progress crashed,supervisord did not attempt to start the progress.
Why is this ?
蜯件ç åéš åŒ å
å»·
çµè¯ïŒ0512-69567776-8584
çœåïŒhttp://www.codyy.com
å°åïŒèå·å·¥äžååºå¯æ£è·¯8å·å¯äºç§æåäžå€§åŠ7楌
_______________________________________________
Supervisor-users mailing list
Supervisor-***@lists.supervisord.org
https://lists.supervisord.org/mailman/listinfo/supervisor-users
--
Mikko Ohtamaa
http://opensourcehacker.com
http://twitter.com/moo9000