monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Need help restarting an app.


From: SPAZ
Subject: Re: [monit] Need help restarting an app.
Date: Thu, 3 Jul 2008 15:33:53 -0700 (PDT)

I'm not really sure what your talking about. when i attach the screen the
only option i have is to CTRL+C. even if i delete the .pid file the app
stays running as the .pid is an option i have enabled in the .conf files of
the app. 


Martin Pala wrote:
> 
> Most applications handle signals like TERM gracefully ... try to check  
> whether the app can be terminated for example using some signal
> 
> Martin
> 
> 
> On Jul 4, 2008, at 12:02 AM, SPAZ wrote:
> 
>>
>> I currently am starting this app in screen with
>>
>> ---> ./appname -c /location/of/app.conf
>>
>> To end the app i have to attach the screen and issue a CTRL+C to  
>> terminate.
>>
>> I have been able to have monit monitor all the resources that this  
>> app is
>> using by monitoring the .pid file the app makes.
>>
>> Is there any way i can have monit restart this app when the memory/cpu
>> resources reach a certain level or if monit senses that the app has  
>> frozen?
>>
>> Thanks
>> SPAZ
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Need-help-restarting-an-app.-tp18266291p18266291.html
>> Sent from the monit-general mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> To unsubscribe:
>> http://lists.nongnu.org/mailman/listinfo/monit-general
> 
> 
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Need-help-restarting-an-app.-tp18266291p18269489.html
Sent from the monit-general mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]