The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    16
    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:
    1
    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.
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    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/

     
Loading...

Share This Page