NiklasRieckenFR

Registered
Nov 19, 2015
2
0
1
Vienna
cPanel Access Level
Root Administrator
Hey guys,

I am facing a problem at the moment. I am using cPanel/WHM on a VPS Machine with 4x2,66GHz and 6GB Memory. But the Server keeps crashing every two to three days! I have about 20 customers on this machine, which shouldn't be too much normally, right ?!

As Installation I used the CentOS Version of cPanel.

I always get an E-Mail "chkservd HANG" and short after that, the server crashed. As a List of the Top Processes I get:

PID Owner CPU % Memory % Command
19983 afundgrube 35.79 0.16 php spread.txt
19978 afundgrube 9.03 0.21 php spread.txt
19069 afundgrube 8.71 0.30 /usr/sbin/iptables
19536 root 8.54 0.30 /usr/local/cpanel/scripts/restartsrv_spamd --restart --attempt 1
19564 afundgrube 6.77 0.10 php spread.txt

And also following logs:
cpanel_chkservd_log_tail.txt:

Code:
[2016-03-21 19:52:32 +0100] Disk check .... /tmp (/var/tmp) [8.51%] ... /dev/mapper/vg_cpanel1-lv_root (/) [30.72%] ... /usr/tmpDSK (/tmp) [8.51%] ... /dev/mapper/vg_cpanel1-lv_home (/home) [26.92%] ... /dev/sda1 (/boot) [15.14%] ... {status:eek:k} ... Done
Loading services .....clamd....cpanel_php_fpm....cpanellogd....cpsrvd....exim....ftpd....httpd....imap....mailman....mysql....named....nscd....pop....queueprocd....spamd....sshd..Done
Service Check Started
Service Check Finished
[2016-03-21 19:47:31 +0100] Service check ....sshd [[check command:+][socket connect:N/A]]...spamd [[check command:+][socket connect:N/A]]...queueprocd [[check command:+][socket connect:N/A]]...pop [[check command:+][socket connect:+]]...p0f [[check command:N/A][socket connect:N/A]]...nscd [[check command:+][socket connect:N/A]]...named [[check command:+][socket connect:N/A]]...mysql [[check command:+][socket connect:N/A]]...mailman [[check command:+][socket connect:N/A]]...imap [[socket_service_auth:1][check command:+][socket connect:+]]...httpd [[check command:N/A][socket connect:+]]...ftpd [[socket_service_auth:1][check command:+][socket connect:+]]...exim [[check command:+][socket connect:+]]...dnsadmin [[check command:N/A][socket connect:N/A]]...cpsrvd [[http_service_auth:1][check command:N/A][socket connect:+]]...cphulkd [[check command:N/A][socket connect:N/A]]...cpgreylistd [[check command:N/A][socket connect:N/A]]...cpanellogd [[check command:+][socket connect:N/A]]...cpanel_php_fpm [[check command:+][socket connect:N/A]]...clamd [[check command:+][socket connect:N/A]]...Done
[2016-03-21 19:47:31 +0100] OOM check ....Done
[2016-03-21 19:47:31 +0100] Disk check .... /tmp (/var/tmp) [8.51%] ... /dev/mapper/vg_cpanel1-lv_root (/) [30.72%] ... /usr/tmpDSK (/tmp) [8.51%] ... /dev/mapper/vg_cpanel1-lv_home (/home) [26.92%] ... /dev/sda1 (/boot) [15.14%] ... {status:eek:k} ... Done
Loading services .....clamd....cpanel_php_fpm....cpanellogd....cpsrvd....exim....ftpd....httpd....imap....mailman....mysql....named....nscd....pop....queueprocd....spamd....sshd..Done
Service Check Started
Service Check Finished
cpanel_tailwatchd_log_tail.txt:

Code:
[1978] [2016-03-21 20:09:53 +0100] [Cpanel::TailWatch::Eximstats] [SQLERR] Could not prepare query, logging SQL to /var/cpanel/sql
Cpanel::DBI::Mysql connect('','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/DBI.pm line 89.
[1978] [2016-03-21 20:09:34 +0100] [Cpanel::TailWatch::Eximstats] [SQLERR] Could not prepare query, logging SQL to /var/cpanel/sql
Cpanel::DBI::Mysql connect('','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/DBI.pm line 89.
[1978] [2016-03-21 20:08:33 +0100] [Cpanel::TailWatch::Eximstats] [SQLERR] Could not prepare query, logging SQL to /var/cpanel/sql
Cpanel::DBI::Mysql connect('','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/DBI.pm line 89.
[1978] [2016-03-21 20:08:23 +0100] [Cpanel::TailWatch::Eximstats] [SQLERR] Could not prepare query, logging SQL to /var/cpanel/sql
Cpanel::DBI::Mysql connect('','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/DBI.pm line 89.
[1978] [2016-03-21 20:08:21 +0100] [Cpanel::TailWatch::Eximstats] [SQLERR] Could not prepare query, logging SQL to /var/cpanel/sql
Cpanel::DBI::Mysql connect('','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/DBI.pm line 89.
Can anybody help me?

Cheers,
Niklas
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello :)

The thread referenced in the previous response is the best resource when attempting to address load issues. Also, the output you provided suggests you may need to look into this process further:

19983 afundgrube 35.79 0.16 php spread.txt
Thank you.