USR Partition on your VPS server can quickly become cluttered with temporary files, old backups, and unnecessary data. When this happens, your server may slow down, cause errors, or even fail to perform crucial tasks. Clearing space on your USR Partition is essential to ensure smooth operation and optimal performance. However, manually checking every file is time-consuming and inefficient. In this guide, we’ll show you how to quickly and safely free up space on your VPS dedicated server’s USR Partition, including removing temporary files, deleting outdated backups, and using cleanup tools. Whether you are a beginner or an experienced administrator, these practical tips will help you optimize your server efficiently.
#1 Get Rid of Temporary Files
Whenever a VPS server administrator uploads a file directly using the file manager, cPanel produces a temporary duplicate of the file. It’s simple to free up space on your VPS dedicated server’s USR partition.
rm -fv /home/*/tmp/Cpanel_*
#2 Remove Additional Backups
You may also delete extra backups to clear up space on your VPS server. We are not advocating that automated backups be disabled. Backups that are older than 30 days can be deleted.
for user in `/bin/ls -A /var/cpanel/users` ; do rm -fv /home/$user/backup-*$user.tar.gz ; done
#3 Use CleanUp To Free Up USR Partition Of Your VPS Dedicated Server
CleanUp is a free PHP software for removing unnecessary files from your server using direct FTP connection. It’s a quick and easy solution for site administrators to remove obsolete and unneeded files from the webserver. It can delete the following file types:
• log files
• index.html files older than X days
• images older than X days
• CSS stylesheets older than X days
Advanced options include eliminating files based on their size and type, removing subdirectories recursively, and adding wildcards to filenames. This script is designed to help you clear up space on your VPS Server quickly and easily.
Final Words
Freeing up space on your VPS dedicated server’s USR drive doesn’t have to be complicated. By removing temporary files, old backups, and unnecessary data, you can significantly improve server speed, reliability, and overall performance. Always remember to take proper precautions when deleting files—such as verifying backups and confirming which files are safe to remove—to avoid accidentally deleting important data. You can perform these tasks via SSH or terminal, and after clearing space, make sure your administrator credentials are secure to protect your server from unauthorized access. With these steps, your VPS will be optimized for peak performance, and you’ll have more confidence in managing your server efficiently.
If you need guidance or encounter any issues during the cleanup process, our team is ready to assist you every step of the way.





