Please run monit in verbose mode (-v option) and check logs.

Monit currently waits one cycle for the process to start (unless the "every" option is used). If the process starts slower, then it reports error. If your testing cycle is short, you can also consider making in slightly longer.

We plan to support method timeouts in the future:
http://www.tildeslash.com/monit/doc/next.php#38

Martin


On Nov 12, 2007, at 1:02 AM, Moshe Cohen wrote:

Hi,
Often when I start a process with Monit, I receive an alert that it has failed to start, even though it succeeds. My thinking is that Monit is checking the PID file before it is created.
How does Monit time this check ?

Moshe

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to