SOLVED My Root partition is getting full

Sujoy Dhar

Well-Known Member
Jul 24, 2016
76
12
58
India
cPanel Access Level
Root Administrator
Twitter
Hi ,

While checking I can see that a process is running
/usr/local/cpanel/bin/splitlogs --dir=/etc/apache2/logs/domlogs --main=hostname....

Per minute it is creating around 2 GB data file in
/var/log/apache2

2.7G stderr.log.2018_12_16
4.3G stderr.log.2018_12_16.01
2.1G stderr.log.2018_12_16.02
8.2G stderr.log.2018_12_16.03
2.6G stderr.log.2018_12_16.04
2.6G stderr.log.2018_12_16.05
2.0G stderr.log.2018_12_16.06
3.0G stderr.log.2018_12_16.07
2.5G stderr.log.2018_12_16.08
3.3G stderr.log.2018_12_16.09
2.4G stderr.log.2018_12_16.10
2.1G stderr.log.2018_12_16.11
4.8G stderr.log.2018_12_16.12
2.2G stderr.log.2018_12_16.13
2.4G stderr.log.2018_12_16.14
2.2G stderr.log.2018_12_16.15

Also getting a file created under : /var/log/messages

Also getting the files of 3 to 4 gb each with huge log under /var/log/apache2/domlogs

Can you suggest how to stop these logs ?
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,774
328
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
You should probably look at the log file and see what is getting generated so often and resolve that problem. The logs are just an indication of another problem happening.
 

Sujoy Dhar

Well-Known Member
Jul 24, 2016
76
12
58
India
cPanel Access Level
Root Administrator
Twitter
You should probably look at the log file and see what is getting generated so often and resolve that problem. The logs are just an indication of another problem happening.
I understand but I am not too much techy so unable to detect what is the root cause !
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello @Sujoy Dhar,

Feel free to open a support ticket if you need assistance understanding what's filling up your Apache logs, and to verify which settings you can enable to reduce the amount of data stored in the log files. You can post the ticket number here and we'll update this thread with the outcome.

Thank you.