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.

Freeing up space.

Discussion in 'General Discussion' started by Chelp2, Jul 26, 2003.

  1. Chelp2

    Chelp2 Active Member

    Joined:
    Mar 28, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Ok. I need to free up some space on the server. Anyone want to help me do this step by step. I need to know which directories seem kinda bigger than normal and how to go about searching for the clutter.

    Suggestions would be great.

    Already used these commands.

    ls -lhS /usr/local/apache/domlogs/ |head

    and

    ls -lh /usr/local/apache/logs/

    I need to know how to go into each find out what can be removed and remove it.

    Thanks.

    16k ./lost+found
    272M ./bin
    1.1G ./lib
    58M ./libexec
    56M ./sbin
    1.3G ./share
    155M ./X11R6
    4.0k ./dict
    4.0k ./etc
    3.9M ./games
    82M ./include
    641M ./local
    431M ./src
    4.8M ./kerberos
    12M ./i386-glibc21-linux
    80M ./java
    15M ./man
    152k ./doc
    4.1G .

    cPanel.net Support Ticket Number:
     
  2. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    some files must be delete manually

    cPanel.net Support Ticket Number:
     
  3. Chelp2

    Chelp2 Active Member

    Joined:
    Mar 28, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Yeah i figure.

    Question is which ones? I know that some might have to be removed manually, but it's nice to know which ones.

    Thanks.

    cPanel.net Support Ticket Number:
     
  4. Chelp2

    Chelp2 Active Member

    Joined:
    Mar 28, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    There has to be someone who has done this before?

    Anyone out there who has done this before? Who knows how to do a play by play.

    cPanel.net Support Ticket Number:
     
  5. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    *If You Knew Linux You Would Not Have This Problem*

    Sorry to come off as this, but that's true. :)

    Brenden

    cPanel.net Support Ticket Number:
     
  6. Chelp2

    Chelp2 Active Member

    Joined:
    Mar 28, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    If people posted with helpful ideas instead of none too useful advise.

    I probably also would be better off. If you don't mean to come off like that, why do you always?

    I've gone over a few of your posts.

    Seriously though. I think if i'm not mistaken the main reasons people come to forums like this and forums.rackshack.net (which is great and really a helpful place.) is to find out more, enhance knowledge and get useful advise.

    So far i've learned a great deal and i want to continue to expand on that.

    But i don't think your post is going to further that at all. I however have seen a few really good posts, where others have taken the time to be helpful and actually give the advise that others came to the forum seeking.

    So if there is anyone else like that out there feel free to post.

    Otherwise don't if you can't be helpful. (I mean to come off sounding like this, because i came for help, not smart remarks.)

    cPanel.net Support Ticket Number:
     
  7. Keegan

    Keegan Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Pompous is the mind of the ill timed wit

    cPanel.net Support Ticket Number:
     
  8. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX

    DId you mean to direct that to me or sexy_guy? :D

    Anyway, I did mean what I said. If you knew what to look for in linux, you could be able to then do it all. That's all I mean, and that wasn't an ill-timed wit.

    Try asking ciphervendor, he'd agree with me too. Heck a lot of souls out there would.

    It's a simple fact, not an insult or witty thing to say.

    Brenden

    cPanel.net Support Ticket Number:
     
  9. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Chelp2,

    I meant it like that, because there's so much you can look at, and we're not here to babysit your system!

    Why become a webhost if you don't know how to manage the durn box other than CPanel itself which isn't supposed to be a full system administration replacement!!

    With that being said, aside, here are some ideas.

    Which part is this from, the /usr directory? It says it has 4.1GB In there. Hmm. Did you look in the main /usr directory rather than listing just the directories here? Were there any files within the /usr directory other than directories? Just curious.

    Then the next step is seein whats in the /usr/share directory. My /usr/share dir is only 201MB and yet yours lists as 1.2GB. Serious waste of space in there perhaps? Would you mind listing the contents of that here so we can see and check for you?

    Also the /usr/lib seems rather large. Mine's only 176MB yet yours is something like 1.7GB. Maybe you'd like to list that here as well so we all can see what is "not supposed" to be there, and assist you in this regard.

    I have a gut feeling if you reduce the flotsam in /usr/lib and /usr/share you'll have optimal space in there. :)

    Brenden

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page