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: Martin Pala
Subject: Re: [monit] Need help restarting an app.
Date: Fri, 4 Jul 2008 00:06:15 +0200

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





reply via email to

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