On 05 Nov 2013, at 18:48, V.Krishn <[email protected]> wrote:

> On Tuesday, November 05, 2013 08:29:03 PM you wrote:
>> If the stop or start of your apache will be slow, THEN you may increase the
>> timeout of the given operation, for example:
>> 
>> check process apache with pidfile /var/run/httpd.pid
>>      start program = "/etc/init.d/httpd start"
>>      stop program  = "/etc/init.d/httpd stop" with timeout 60 seconds
> 
> How does one estimate the corrent timeout for any given service ?


If the test returns error, whereas the situation is normal (i.e. you know the 
service has long response time, or is slow starting, etc.), then you should 
increase the corresponding timeout. The default timeouts should work fine for 
most services.

If you don't see any errors then trying to tune timeouts is kind of overkill 
and you try to solve synthetic problem.


Regards,
Martin


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

Reply via email to