On one of our servers, the disk usage is showing 70GB out of 80GB, but the user's quota in WHM is showing that the users are only using 28GB. I have cleared out the old log files, where would the rest of the usage be coming from?
On one of our servers, the disk usage is showing 70GB out of 80GB, but the user's quota in WHM is showing that the users are only using 28GB. I have cleared out the old log files, where would the rest of the usage be coming from?
The Server Status Information should tell you with one of the drives having a red light. Otherwise just go and click on "Show Current Disk Usage" in WHM.
I know which ones are high, I can't figure out where the space is getting used. As I stated, only 28GB are in user files, the log files are using only about 2GB. Does cpanel's updates end up stored on the server and never erased over time? Is that where a lot of the space could be going to?
rm -rf /var/log/*.1
rm -rf /var/log/*.1.gz
rm -rf /var/log/*.2
rm -rf /var/log/*.2.gz
rm -rf /var/log/*.3
rm -rf /var/log/*.3.gz
rm -rf /var/log/*.4
rm -rf /var/log/*.4.gz
Also my cpbackup has been spiraling lately, check any and all /home or /home2 directories like cptmp cpbackuptmp, anything with prefix 'cp' has probably filled the drive in a loop.
Use those above too, will remove old archived logs. Save a gig or 3.