Free space on a CPanel/WHM server with root access

Cleaning up and making space on /usr 1. Restart the httpd service. This might free a little space some times. 2. Check for Apache logs like error_log, access_log , suexec_log in /usr/local/apache/logs . These can either be cleared off or if you need the logs then you can take a zipped copy and keep it… Continue reading Free space on a CPanel/WHM server with root access

Tracking down the biggest folders

Finding the largest files to clean up a partition is very important. The command will list the largest folders so you can start your search to remove the files in it and free up some space! du -ax –max-depth 1 /var/cpanel | sort -n | tail This is a great command to simply find what… Continue reading Tracking down the biggest folders