[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about restart/stop
From: |
Martin Pala |
Subject: |
Re: Question about restart/stop |
Date: |
Tue, 5 Nov 2013 19:27:36 +0100 |
On 05 Nov 2013, at 18:48, V.Krishn <address@hidden> 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