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!

No space left on device error, but /var is only 71% full (71% of 20gb)

Discussion in 'General Discussion' started by AbeFroman, Sep 12, 2004.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    I am getting these errors even though I have 6gig free on /var, why is it saying the device is full?
    2004-09-12 09:28:41 1C6VLN-0003fX-Gz Failed to create spool file /var/spool/exim/input//1C6VLN-0003fX-Gz-D: No space left on device
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. StevenC

    StevenC Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    166
    It is possible you ran out of inodes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    How do I check how man inode are being used? Any way to increase those?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Same problem here:

    Failed to create spool file /var/spool/exim_incoming/input/M/1E1waM-0004n1-7A-D: No space left on device

    ... but /var is only 73% used.

    Searching for an answer...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    check df -i
     
  6. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Yes, I've got that far...

    df -i

    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/hda5 66400 22863 43537 35% /
    /dev/hda1 10040 42 9998 1% /boot
    /dev/hda9 3112960 107788 3005172 4% /home
    none 127999 1 127998 1% /dev/shm
    /dev/hda7 788704 93889 694815 12% /usr
    /dev/hda6 788704 788704 0 100% /var

    ... but WHM is showing /var as only 73% full. So I'm just trying to work out the difference between inode usage (-i) and block usage (the default:

    df

    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/hda5 521748 311636 183608 63% /
    /dev/hda1 38859 10447 26406 29% /boot
    /dev/hda9 24469784 12540916 10685844 54% /home
    none 511996 0 511996 0% /dev/shm
    /dev/hda7 6198404 2986280 2897252 51% /usr
    /dev/hda6 6198404 4152480 1731052 71% /var

    So how do I got about freeing up inode space aside from just zeroing old log files in /var? :confused:

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    inodes relates to number of files.

    You probably have a lot of termp files or a large mail queue.
     
  8. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Thanks - I think it's a large mail queue. Lots of files in

    /var/spool/exim_incoming/input/

    ...but of course I can't just go and delete these files. How do I get around this? Can I increase inode allowance on /var perhaps? Any other suggestions??

    Thanks v. much
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Correction - the large number of (small) files are in

    /var/exim_incoming/msglog/

    Pages and pages of files.

    Can I safely delete these?? (gulp)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    497
    Likes Received:
    3
    Trophy Points:
    318
    Problem solved.

    1. I deleted all files and folders from /var/spool/exim_incoming/msglog
    2. I told exim not to log these files anymore: http://forums.cpanel.net/showthread.php?t=14629

    Now df -i for shows 2% used for /var. What a difference!
     
    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