On May 6, 2010, at 8:25 PM, Brad Flora wrote:

> Thanks.  This is helpful info.  I'm getting the hang of this.
> 
> One more related question:
> 
> I have a tempermental app that is not happy with Apache.  Apache is freezing 
> up every 40 minutes or so.  As a band-aid, while I debug, Supervisord is 
> restarting apache every time it sees that it's locked up.

While that sucks, it's better than not having supervisord ;-).

> Question: What advantage do I get by using TERM rather than KILL for 
> restarting apache after it locks up like that?  

It just *sounds* less violent.  

`kill` the command just sends TERM by default anyway.  

KILL the signal (what `kill -9` sends) doesn't let the process perform shutdown 
operations; it's a "non-catchable" signal.

S

_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to