Hi! I have Cpanel and I just ran out of disk quota. I noticed that stats are eating into my space allowance and I was wondering what I can get rid of. I mean, what can I safely delete? Thank you for any help!
If you delete, then all stats data might get lost. Also, on some servers, awstats, webalizer, etc. are loaded. If you use only one of them, just delete the corresponding other folders in /tmp
It's ok if some data get lost. But I'm afraid of deleting one of them and then changing my mind. Basically I'd like to delete the data. Thank you!
Do you have a server ? If so in WHM under Tweak Settings, Check - Delete each domain's access logs after stats run Uncheck - Keep log files at the end of the month (default is off as you can run out of disk space quickly) Uncheck - Keep Stats Log (/usr/local/cpanel/logs/stats_log) between cpanel restarts (default is off) With these option, it will delete raw logs once the stats are generated each day. Check the error_log too, each time your sites encounters an error, it will write to this file, if a problem is left unchecked, this file can really grow huge and quickly.
Well, I guess what you can do is ask your web host to delete your old log files. When Apache cannot find a log file, it will recreate it for you. Check to see if you find a error_log file found in there ?