Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to optimize size of /usr/local/cpanel

Discussion in 'General Discussion' started by sharmaine001, Feb 24, 2010.

  1. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    166
    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
     
  2. yashraj

    yashraj Member

    Joined:
    Nov 16, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    United states
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    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

    You can also remove the following directories under /usr/local/

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice