public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: James Braid <jamesb@loreland.org>
Cc: xfs@oss.sgi.com
Subject: Re: ENOSPC at 90% with plenty of inodes
Date: Sat, 9 Oct 2010 09:51:46 +1100	[thread overview]
Message-ID: <20101008225146.GJ4681@dastard> (raw)
In-Reply-To: <AANLkTinwnOm0V=9WwbXiUGFnyjCwT3GUHo0hiQahQNUV@mail.gmail.com>

On Fri, Oct 08, 2010 at 06:17:52PM +0100, James Braid wrote:
> Hi,
> 
> On a fairly busy mail server hosting about 1000 cyrus mailboxes (each
> message is stored as a separate file), we are observing ENOSPC errors
> from the cyrus pop/imap daemons when attempting to create (tiny)
> files. e.g.
> 
> Oct  8 12:18:49 xxx cyrus/pop3[14119]: IOERROR: creating
> /user/imap/proc/14119: No space left on device
> Oct  8 12:18:49 xxx cyrus/lmtpunix[14361]: IOERROR: creating quota
> file /user/imap/quota/m/user.xx.NEW: No space left on device
> Oct  8 12:18:49 xxx cyrus/imap[12804]: IOERROR: creating quota file
> /user/imap/quota/d/user.xxx.NEW: No space left on device
> 
> The filesystem appears to have plenty of space available:
> 
> # df -i /user
> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> /dev/sdb1            102294688 10201313 92093375   10% /user
> # df /user
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sdb1            213014148 190023408  22990740  90% /user
> 
> Any ideas for how can we go about debugging where ENOSPC is coming
> from? Unfortunately it's running a vintage 2.6.24 kernel (Ubuntu 8.04)
> - we're trying to get it upgraded to 10.04 (2.6.32)

Sounds like fragmented free space. What is the output of:

# xfs_db -r -c "freesp -s" <device>

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  parent reply	other threads:[~2010-10-08 22:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08 17:17 ENOSPC at 90% with plenty of inodes James Braid
2010-10-08 20:40 ` Emmanuel Florac
2010-10-08 20:43 ` Emmanuel Florac
2010-10-08 22:51 ` Dave Chinner [this message]
2010-10-11 14:03   ` James Braid
2010-10-11 22:35     ` Dave Chinner
2010-10-12  1:27       ` Stan Hoeppner
2010-10-12 10:29         ` Dave Chinner
2010-10-12 13:52           ` Jan Derfinak
2010-10-12 23:21           ` Stan Hoeppner
2010-10-13  0:25             ` Dave Chinner
2010-11-24  1:04 ` XIE Zhengmao
  -- strict thread matches above, loose matches on Subject: below --
2010-10-08 20:33 Richard Scobie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101008225146.GJ4681@dastard \
    --to=david@fromorbit.com \
    --cc=jamesb@loreland.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox