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 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:
    0
    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
     
  2. StevenC

    StevenC Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    It is possible you ran out of inodes.
     
  3. AbeFroman

    AbeFroman BANNED

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

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    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...
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

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

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    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:
    481
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  9. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    Correction - the large number of (small) files are in

    /var/exim_incoming/msglog/

    Pages and pages of files.

    Can I safely delete these?? (gulp)
     
  10. spaceman

    spaceman Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    481
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
Loading...

Share This Page