I encountered a serious problem with cpsrvd-ssl on both the cPanel/WHM servers I administer. I have been able to fix the problem, but since I do not understand the cause or solution, I can't be completely sure it'll never recur. I also could not find any discussion of the problem, even though it happened on two similar but unrelated servers and only with 11.30.6.6. I thought discussing it here might help cPanel support and users.
I will monitor this thread, so if there is any further info I can provide, please let me know.
Server 1
xenpv VPS (Slicehost)
CentOS 5.8
1 GB RAM
cPanel/WHM VPS Optimized 11.30.6.6 (upgraded from 11.30.6.3)
Server 2
xenpv VPS (Rackspace Cloud Server)
CentOS 6.2
1 GB RAM
cPanel/WHM VPS Optimized 11.30.6.6 (fresh install)
Symptoms
Solution
Unsuccessful: I attempted a server reboot. This seemed to improve performance but only briefly.
Unsuccessful: I attempted:
What seems to solve the problem is to repeatedly toggle (with saves) Force SSL and restart cPanel. Eventually this caused the problem behaviour to go away and not reoccur (over 24 hours on one server, the other server had the problem before and it's been quite a bit more than 24 hours with no recurrence).
I will monitor this thread, so if there is any further info I can provide, please let me know.
Server 1
xenpv VPS (Slicehost)
CentOS 5.8
1 GB RAM
cPanel/WHM VPS Optimized 11.30.6.6 (upgraded from 11.30.6.3)
Code:
root@lush1 [/usr/local/cpanel/logs]# grep -H '' /etc/*release /usr/local/cpanel/version /var/cpanel/envtype
/etc/redhat-release:CentOS release 5.8 (Final)
/usr/local/cpanel/version:11.30.6.6
/var/cpanel/envtype:xen pv
root@lush1 [/usr/local/cpanel/logs]# grep "numacctlist\|conserve\|gzip" /var/cpanel/cpanel.config
numacctlist=30
conserve_memory=1
cpsrvd-gzip=1
root@lush1 [/usr/local/cpanel/logs]# perl -v | grep "v[0-9]"
This is perl, v5.8.8 built for x86_64-linux
root@lush1 [/usr/local/cpanel/logs]# uname -a
Linux lush1.sustainablylush.ca 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
xenpv VPS (Rackspace Cloud Server)
CentOS 6.2
1 GB RAM
cPanel/WHM VPS Optimized 11.30.6.6 (fresh install)
Code:
root@harbour1 [/home/pdswoodw/.cpaddons]# grep -H '' /etc/*release /usr/local/cpanel/version /var/cpanel/envtype; grep "numacctlist\|conserve\|gzip" /var/cpanel/cpanel.config; perl -v | grep "v[0-9]"; uname -a
/etc/centos-release:CentOS release 6.2 (Final)
/etc/redhat-release:CentOS release 6.2 (Final)
/etc/system-release:CentOS release 6.2 (Final)
/usr/local/cpanel/version:11.30.6.6
/var/cpanel/envtype:xen pv
numacctlist=30
conserve_memory=1
cpsrvd-gzip=1
This is perl, v5.8.8 built for x86_64-linux
Linux harbour1.wpwebmasters.com 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux
- All cPanel/WHM unresponsive when accessed over SSL. They load slowly and often will not load completely.
- cPanel/WHM unaffected over HTTP (non-SSL)
- regular HTTP and HTTPS hosting for sites unaffected
- cpsrvd-ssl refuses to shutdown and has to be terminated: Waiting for cpsrvd-ssl to shutdown ... ........... terminating cpsrvd-ssl .....Done
- rebooting server or restarting cPanel does not fix the problem (may initially be a bit more responsive, but problem reappears within minutes).
- there is no correlation with CPU or memory use (i.e. it is not caused by CPU or memory over-utilization)
Solution
Unsuccessful: I attempted a server reboot. This seemed to improve performance but only briefly.
Unsuccessful: I attempted:
Code:
service cpanel restart