[Top][All Lists]

[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


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?


View this message in context:
Sent from the monit-general mailing list archive at

To unsubscribe:

reply via email to

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