To release space in your WHM/cPanel servant in 10 simple steps temporarily
Sometimes, it can be that we need to release space in our servant of cPanel. In order to get out of trouble if we have problems in our servant already (the data bases do not work, cannot raise archives, cannot send post office, etc.) we can release something of space to solve the problem temporarily if we applied the following 10 steps that we described next. You will need SSH access to execute them.
EYE! When the problem of the lack of space appears, we are forced to increase the disc space of our servant, since no matter how much we clean archives, if these have gotten to saturate the space already which we have, is a clear symptom that we must increase the space as soon as possible. In order to increase it, you must raise of servant VPS from the Area of Clients and soon to contact with us sending a support ticket to us to extend the partitions of your Dedicated VPS or.
Index of this article
1. Temporary files of cPanel
To release space of the temporary files generated in the ascents of cPanel:
# rm - fv /home/ */tmp/Cpanel_*
2. Cache of Yum
To release the yum cache (the installer of packages of CentOS):
# yum clean all
3. Backups de Apache
To erase backups of Apache that is generated to recompilarlo:
# rm - RF /usr/local/apache.backup *
# rm - RF /home/cpeasyapache
4. Weathers cpmove
To review (and to eliminate in case there are them) that are no archives in the /home temporary of backup with names as:
5. Group of forty of the CXS
If it is had installed the pack of security ConfigServer CXS, to erase archives of the group of forty of the CXS that are /home/quarantine
6. To erase logs of Apache
(after eliminating these archives, reinitiating Apache)
7. Domlogs de Apache
To clean weathers DOMLOGS of Apache: it is possible to be done at any time (But for Apache, reason why it is necessary to run these commandos fast):
# /etc/init.d/httpd stop
# sleep 8
# rm /usr/local/apache/domlogs/ * - RF
# /etc/init.d/httpd start
NOTE: If EA4 in line 3 must run: # rm /var/log/apache2/domlogs/ * - RF
8. Weathers of servant FTP
To eliminate the partial archives raised by FTP:
# locate .pureftpd-upload | xargs rm - fv
9. Archives of Mailman
To review the archives of they mailman (ready of mail) that can occupy much space, are in:
10. Statistics of Exim
To clean the statistics of Exim. Sometimes these archives occupy very many and they are possible to be cleaned through commando:
# I throw "" > /var/cpanel/sql/eximstats.sql
With these 10 simple steps we will have solved the problem of the space momentarily and will be able to ask for to Support the increase of the disc.
Point you at our Newsletter to maintain to you informed into our new features and supplies.
Who we are?
PrackHost is specialized in Premium Web for the managers of used contents more. Some of our characteristics:
- NVMe discs 6 times faster than discs SSD.
- Servers with LiteSpeed Web server.
- Gratuitous groups.
- Control Panel cPanel.
- Backups of 2 months.
- Professional support.