How to change the interval of ChkServd service checks in WHM server
How to change the interval of ChkServd service checks in WHM server
Chkservd is a process which monitor all services on a cPanel server and restarts if it is down. You can the number of seconds between ChkServd service checks. By default ChkServd service check is done every 300 seconds (5 minutes). Do the below steps to increase ChkServd service check time.
1. Login to WHM using server root login details
2. Click on “Tweak Settings” under “Server Configuration”
Home » Server Configuration » Tweak Settings
3. Click on “system” tab in “Tweak Settings” and change “The number of seconds between ChkServd service checks” to a higher value. (Minimum value is 60; Maximum value allowed is 7,200)
4. Save tweak settings
==================================
Updating tweak settings…
Your changes have been saved.
Restarting cPanel daemons…done.
Updating your system to reflect any changes…
Updating “The number of seconds between ChkServd service checks.” from “300” to “700”.
“The number of seconds between ChkServd service checks.” was updated.
Done.
How to change number of seconds between ChkServd service checks from server backend
1. Log into your server via SSH as ‘root’
2. Edit Tweak settings backend file /var/cpanel/cpanel.config using your favorite editor
vi /var/cpanel/cpanel.config
3. Change the line “chkservd_check_interval” to a higher value
Example :
chkservd_check_interval=300
To
chkservd_check_interval=700
4. Save the tweak settingsfile and exit
Update Tweak settings using the below command
Command : /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings
Restart cPanel service using command : service cPanel restart