cpsrvd - keeps re-starting ?? (11.54.0.16)

RobinF28

Active Member
Jun 27, 2015
42
8
58
Elgin, Scotland
cPanel Access Level
Root Administrator
Hi everyone,

Just wondering if anyone can help me with this recently started issue, or if you have any experience with this....

I have noticed that I am getting the following "repeating" status notices in my /usr/local/cpanel/logs/error_log:

Code:
==> cpsrvd 11.54.0.16 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transferred port bindings
==> cpsrvd: bound to ports
==> cpsrvd 11.54.0.16 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transferred port bindings
==> cpsrvd: bound to ports
==> cpsrvd 11.54.0.16 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transferred port bindings
==> cpsrvd: bound to ports
==> cpsrvd 11.54.0.16 started
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transferred port bindings
==> cpsrvd: bound to ports
==> cpsrvd 11.54.0.16 started................>>>>
This keeps repeating, but was not present in these error_logs until very recently, last couple of weeks.
Usually this repeats about 8 to 15 times every hour.

I have looked through the forums but can't quite see any threads relating to whether this is a recent "update" issue or a bug??

The server seems to be functioning ok (many WordPress sites) and is updated to the latest releases for centOS and WHM/cPanel and mySQL.

I would really appreciate anyone's feedback or help, thank you very much.

- Robin.
 
Last edited:

RobinF28

Active Member
Jun 27, 2015
42
8
58
Elgin, Scotland
cPanel Access Level
Root Administrator
Sorry - I should have included the following server/OS information...

Code:
/etc/redhat-release:CentOS release 6.7 (Final)
/usr/local/cpanel/version:11.54.0.17
/var/cpanel/envtype:vmware
CPANEL=release
Server version: Apache/2.4.18 (Unix)
Server built:   Feb  4 2016 00:30:19
Cpanel::Easy::Apache v3.32.9 rev9999
PHP 5.4.45 (cli) (built: Feb  4 2016 00:34:32)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd.
    with Suhosin v0.9.36, Copyright (c) 2007-2014, by SektionEins GmbH
mysql  Ver 14.14 Distrib 5.6.29, for Linux (x86_64) using  EditLine wrapper
 
  • Like
Reactions: cPanelMichael

RobinF28

Active Member
Jun 27, 2015
42
8
58
Elgin, Scotland
cPanel Access Level
Root Administrator
Hi everyone,

Just to update this thread, the great guys at cPanel support resolved the issue.

I had a service partner tweak my server a few weeks ago, and they modified my settings as detailed below, which caused the re-starting of the cpsrvd every 5 minutes or so! See below...

I believe that this was caused by having "Dormant Services" enabled for cpsrvd in "Tweak Settings" (WHM »Home »Server Configuration »Tweak Settings). This is described as:

"Use of the dormant service feature will decrease memory use. When a service is idle for 5 minutes, it will unload itself from memory, leaving a tiny "listening" service in place. The reduction in memory consumption is offset by a delay in fulfilling the initial request when dormant since full service must then be activated."

Additional information is available at Tweak Settings - Software - Documentation - cPanel Documentation

I have disabled it for cpsrvd, and will continue to monitor for the next couple of hours and will keep you updated if there are any developments.
This issues is now resolved, and hopefully this thread will help anyone with similar experiences & symptoms.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

I am happy to see the issue is now resolved. Thank you for updating us with the outcome. Here's the document again for anyone else that notices this issue in their cPanel error log:

Tweak Settings - Software - Documentation - cPanel Documentation

Dormant services
This setting configures the system to unload idle services from memory after two minutes of inactivity, and then loads listening devices that correspond to it. This reduces memory usage, but delays responses from dormant services.

You can enable this behavior for the following services:

  • cpdavd — cPanel's WebDav daemon.
  • cphulkd — cPanel's brute force protection daemon.
  • cpsrvd — The cPanel & WHM service manager daemon.
Thank you.