ChkServd service checks, what is the disadvantage of a lower number?
Our PHP/Apache crashes from time to time and it's great that chkservd finds and reboots it, but the default value is set to 300. What is the disadvantage of lowering it down to 60?
Thanks all :)
-
ChkServd service is an in-built monitoring tool of cPanel which monitors the services enabled at Home "Service Configuration "Service Manager
The default value is 300 which means it keeps checking service status at an interval of 5 minutes. You can set it to 120 if you want it to monitor services every 2 minutes. If at any point you get ChkServd service hung notification after reducing the value then consider it to increase by 60 seconds.0 -
Thanks for the reply! I am just wondering if there is a disadvantage to lowering it to 60, it seems like a 5 minute check in the webhosting world is an eternity for customers! :) 0 -
There are more chances of ChkServd service getting hung with such a short interval. 0 -
hung, meaning not getting through the last checks? 0 -
I mean service getting non-responsive or at some point, it may get a second check before even completing the first one. 0 -
Thanks Kodeslogic, I'm setting all my servers of varying load to 60, I'll let you know how it goes! Happy Holidays! 0 -
As mentioned, the biggest risk is a second check starting before the first one is complete. If it does detect an issue, such as Apache being offline, and performs a restart, it could be longer than 60 seconds before the restart happens and the rest of the services get scanned as well. There's nothing inherently wrong with changing the time, just 5 minutes is the default we set. 0
Please sign in to leave a comment.
Comments
7 comments