I have a pretty low /usr partition size and i cannot resize since i dont have LVM. Is there a way to optimize /usr/local/cpanel so it wont take so much space? Currently its roughly 1.7 GB
I have a pretty low /usr partition size and i cannot resize since i dont have LVM. Is there a way to optimize /usr/local/cpanel so it wont take so much space? Currently its roughly 1.7 GB
Hi,
You can compress your logs files that are located in /usr partition .i.e cPanel logs, various apache logs. You will have to check logs file regularly and will have to clean up logs.
http://Hostwaresupport.com
24x7 Technical Support | Server management | Server security
What is the total size of your /usr partition? Since it's not possible to resize the partition, you can move the log directories to another partition say /home and create a symlink.
The log directories you can move to /home directory and save space on /usr partition are:
For example, create a directory under /home and set a symlink/usr/local/apache/domlogs
/usr/local/apache/logs
You can also remove the following directories under /usr/local/mkdir /home/apache/
mv /usr/local/apache/domlogs /home/apache/
ln -s /home/apache/domlogs /usr/local/apache/domlogs
apache.backup
apache.backup_archive
cpanel.backup_archive