killed cpanellogd leaves huge log files that crash server

undercrimson

Registered
Aug 2, 2007
1
0
51
Since I run a single-user dedicated server, I killed cpanellogd. Now I'm finding that about once a day at random times, the server crashes with an error of "file size limit exceeded." I think it's processing one of the cpanellogd log files. I'm also finding there is something taking up gigs of space in /usr . Any ideas?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
11
313
Houston, TX
cPanel Access Level
Root Administrator
Since I run a single-user dedicated server, I killed cpanellogd. Now I'm finding that about once a day at random times, the server crashes with an error of "file size limit exceeded." I think it's processing one of the cpanellogd log files. I'm also finding there is something taking up gigs of space in /usr . Any ideas?
Do you have log files on the server that are approaching 1 GB in size? If so, that can cause issues.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
cPanel Access Level
Root Administrator
Do you have log files on the server that are approaching 1 GB in size? If so, that can cause issues.
The file system limit is usually 2 GBs.

Killing cpanellogd means many of the logs created by various processes are not being rotated. This can be resolved by looking in /usr/local/cpanel/cpanellogd for the list of logs and adding that list to the logrotate configuration. Or just re-enabling cpanellogd