Issue :

You must have seen on many servers that apache gets restarted every 10
minutes. This is because cpanellogd is supposed to send a SIGUSR1
(graceful restart) to apache every 10 minutes to rotate logs (if enabled) and
handle stats.

Fix :

This can be modified by editing the file /usr/local/cpanel/cpanellogd to do
this only once per day so that you still get log processing and bandwidth

Replace this line

43200 seconds (12 hours) instead of 300 seconds (5 minutes).
Since the script only processes logs every other loop, this will mean log
processing only happens once every 24 hours.

Contact Us On WhatsApp