Discussion:
[Supervisor-users] When Golang progress crashed, supervisord did not attempt to start the progress
z***@codyy.com
2017-10-26 06:03:42 UTC
Permalink
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Â¥
Mikko Ohtamaa
2017-10-26 08:37:44 UTC
Permalink
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
z***@codyy.com
2017-10-27 00:37:10 UTC
Permalink
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
Steve Piercy - Website Builder
2017-10-26 09:18:20 UTC
Permalink
On 10/26/17 at 2:03 PM, ***@codyy.com pronounced:

> I used supervisord to watch the golang progress .
> when the progress crashed,supervisord did not attempt to start the progress.
> Why is this ?

Check the configuration value of `autorestart` for your process.
http://supervisord.org/configuration.html#program-x-section-settings

Check your log file for messages. Adjust logging level as needed.
http://supervisord.org/logging.html

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy Website Builder Eugene, OR
<***@stevepiercy.com> <http://www.stevepiercy.com/>
Loading...