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.

No Diskspace after Update.

Discussion in 'General Discussion' started by MarvinMartian, Sep 13, 2006.

  1. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Before I updated, I was using less than half of the hard disk space available on my server. After WHM/cPanel updated I was using 96%.

    Any ideas on what did that? And any solution to fix it?

    Any help is appreciated.
     
  2. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Check here

    ls -la /usr/local/cpanel/whostmgr/docroot/core*

    If you see few huge files core.####, just delete them.

    There are a few threads with info regarding this bug.
    You can resolve it compiling apache with out versioning.
     
  3. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    When I do that, it only returns 1 file with a size of 0.

    :confused:
     
  4. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Ups...

    ls -la /usr/local/cpanel/whostmgr/docroot/core*.*

    Looks if that shows you any else.

    If not, fist find if df is reporting the correct usage.

    If you havent find the problem by then, you should find with du the source of your problem ...

    Just go to your root and type
    du -h --max-depth=1

    And what for your folder size. You may can track if there is any mayor change of size.
     
  5. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    From the looks of it, it is the /var/cpanel/updatelogs/

    That folder is 27 GB big. I am just taking a wild guess and will say that is not right.

    Can I safely delete the two files in there?
    update.1158130652.postinstall.log
    updatesync.1158131040.log

    Or is there a safe way to remove those files?
     
  6. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    You are anything but short of knowledge, you helped me identify the problem.

    Thank you very much.

    I think I am going to delete those files an update again.
     
  7. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    :)

    That solves that problem!!!
     
  8. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    It also does not let me into cPanel anymore, just WHM. I get a Internal Error when trying to get into cPanel.

    When I try to access it from within WHM, it gets me to the beginning fo the page and hangs there.
     
  9. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    You got me on that.....
    Mines are about 30k each.... and no rsync.*.log, just update.*.log files...
    By the nature of those files, it should be safe to delete them, but I certainty check what's causing that huge log file ....
    Sorry, I'm short of knowledge ..... :( . Hope you can find the cause and fix it.
     
  10. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    wow, this page is really screwed up. I replied to you twice and they are above you.

    Anyways, I deleted the files :eek: and when I df my disk usage, it is at 100% now.... odd.
     
  11. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    That is normal, when you reach 90% of disk usage, cpanel doesn't let you access
     
  12. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I do get an error when I try to du the root directory. which I think is odd.

    it says "du: `./proc/10984/fd/4': No such file or directory"

    my /usr directory is almost 4 gigs, but thats the next biggest one.
     
  13. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Are you sure there are no core.* files ???
    Our /usr directory is around 2Gb......

    We deleted four 1.4Gb files from each of our boxes. Tonight we are going to fix it compiling apache without versioning.

    By the way.... those errors with du inside /proc are nomal.

    Regarding the port order, at least we can understand this thread.......
    Anyone who enters here will say these two are nuts.... :rolleyes: ....
    Well, I think already know you, from now on, you can call me "Space Cadet" :D

    Hope you can find the source of that log files...

    Bye
     
  14. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Wow. So, I don't understand how after I delete 37 GB of stuff, the disk actually has LESS space than before.

    I have no clue what to do, the du command shows that I should have a normal amount of space....but df shows I have 0 remaining.

    I have no clue whats going on. :(
     
  15. MarvinMartian

    MarvinMartian Member

    Joined:
    Sep 13, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    So, I think I got it.

    There was a script that didn't stop running that just kept stealing resources and writing logs files.

    I figured it out, stopped the process and immediately my disk space came back.

    so, YAY!!!

    Thank you so much for your help :)
     
  16. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Can you tell us what the script was? Was it part of UPCP ?.
     
Loading...

Share This Page