Clearing up space on your webserver
Posted by Matt on March 8th, 2007
Here’s a tip for clearing up potentially large amounts of space on your WHM/CPanel webserver.
First, you can go to WHM to “list accounts” to see the usage of each account. If anything seems out of line, you can go to that accounts Cpanel and look at “disk usage”, this will show you the size of each folder. One to note for this discussion is the tmp/ folder and its subfolders.
The tmp folder contains stats program data that runs backend on default cpanel/whm installs.
The biggest user of space I found was the analog program which may fill your server with potentially gigabytes of data. Since I don’t use the analog stats program or the webalizer, I just deleted these folders via ftp or ssh.
Next, to turn off the programs entirely, I went into WHM and clicked on “Statistics Software Configuration” near the top of the left menu. Here, check the box “Allow users to change their web statistics generating software.” and click save. Now it will allow you to turn off the stats programs you don’t use.
I freed up about 38% of my web space by doing this.