Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779

    Strange file stuff...

    From Cpanel 9.7G 8.2G 953M 90% /usr

    But du -sh /usr/ only shows

    [email protected] [~]# du -sh /usr/
    1.9G /usr

    A df command shows.

    /dev/hda3 10080520 8609368 959084 90% /usr


    Cpanel thinks /usr/ is full and is crashing because of it. Went through every sub folder on /usr doing a ls -lah and can find no big files anywhere.

    Has me stumped.

    So any ideas why cpanel and df show one thing but a du shows different?

  2. #2
    Join Date
    Oct 2004
    Location
    India
    Posts
    491
    It seems that the df is indeed showing that the /usr 90% full.

    You can run "du -kh --max-depth=1 /usr" to check the directories under it that has taken most space then try this on the directory that has taken more space to indentiy the directory or the files that have taken the most space.

    Possibly the apche domlogs have taken away most spaces.
    ESC :wq!

  3. #3
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Already did that and none of the directorys or sub directorys are big. There are only 2 domains on this server and the total /usr/local/apache path including domlogs is only 458 meg. Verified also by going to each directory and doing a ls -lah

  4. #4
    Join Date
    Oct 2004
    Location
    India
    Posts
    491
    Have you tried to run the /scripts/fixquotas and see if that addresses the issue for you ( It takes a while to complete ).
    ESC :wq!

  5. #5
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Yep tried that too.

    Driving me crazy...

  6. #6
    Join Date
    Oct 2004
    Location
    India
    Posts
    491
    It need a admins look into the issue. Consult a admin asap as users by now may have started to get a warning as they try to log into their cPanel.
    ESC :wq!

  7. #7
    sounds like a file system error to me. We usually have to soft reboot the machine and run an fsck when this happens.

  8. #8
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Found the problem with the help of cpanel support.

    Restart of apache fixed the issue. Logs files had been deleted and the file descriptors were still open restarting apache now shows the correct useage.

    /usr now at 1.8gig 21%

    Learn something new everyday in this business.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •