Hi,
It seems that Cpanellogd (or related services) are causing high load on the server that I'm managing.
It seems that this service is launched every hour and spawns more than 30 processes, like so:
root 19631 0.6 0.2 214456 18424 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19639 0.8 0.2 216428 21200 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19673 0.7 0.2 215372 18636 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19689 0.5 0.2 215688 20284 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19693 1.0 0.2 214780 18048 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19695 1.4 0.2 215124 19792 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19747 1.4 0.2 215076 19288 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19755 0.4 0.2 215284 19392 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19762 1.2 0.2 215200 19288 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19766 1.1 0.2 215396 20216 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19770 0.5 0.2 217480 21924 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19774 1.0 0.3 220196 24612 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
-- snip snip
As far as I could understand from searches & documentation, this is used for rotating logs & bandwidth stats. We need neither of those and I would like to turn this off altogether.
I've done all the steps in the WHM to disable all log rotations & did everything possible to remove all traces of cpanellogd on the file system (moved all such files to a /root folder).
Yet it still seems to be spawning every hour (I can't understand why, since I've moved all files elsewhere?).
Is there a way to either fix this (e.g. find why it's failing & causing high load), or disabling it altogether (my preference)?
Thanks a lot,
j.
It seems that Cpanellogd (or related services) are causing high load on the server that I'm managing.
It seems that this service is launched every hour and spawns more than 30 processes, like so:
root 19631 0.6 0.2 214456 18424 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19639 0.8 0.2 216428 21200 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19673 0.7 0.2 215372 18636 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19689 0.5 0.2 215688 20284 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19693 1.0 0.2 214780 18048 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19695 1.4 0.2 215124 19792 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19747 1.4 0.2 215076 19288 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19755 0.4 0.2 215284 19392 ? S 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19762 1.2 0.2 215200 19288 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19766 1.1 0.2 215396 20216 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19770 0.5 0.2 217480 21924 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
root 19774 1.0 0.3 220196 24612 ? R 09:01 0:00 cpanellogd - waiting for child to process logs for http
-- snip snip
As far as I could understand from searches & documentation, this is used for rotating logs & bandwidth stats. We need neither of those and I would like to turn this off altogether.
I've done all the steps in the WHM to disable all log rotations & did everything possible to remove all traces of cpanellogd on the file system (moved all such files to a /root folder).
Yet it still seems to be spawning every hour (I can't understand why, since I've moved all files elsewhere?).
Is there a way to either fix this (e.g. find why it's failing & causing high load), or disabling it altogether (my preference)?
Thanks a lot,
j.