From: Eric Sandeen <sandeen@sandeen.net>
To: "Milan Holzäpfel" <listen@mjh.name>
Cc: xfs@oss.sgi.com
Subject: Re: Enabling quota on XFS filesystem with many files hangs
Date: Fri, 26 Oct 2012 14:01:48 -0500 [thread overview]
Message-ID: <508ADE1C.40208@sandeen.net> (raw)
In-Reply-To: <20121026191540.ca9ee64db2a51e7166b7fadc@mjh.name>
On 10/26/12 12:15 PM, Milan Holzäpfel wrote:
> Hello all,
>
> I have an XFS filesystem of size 1.2 TiB with 101 GiB free space and 14
> million inodes in use. Quotas are disabled on the filesystem. I try to
> enable user and group quotas by mounting with
>
> mount /dev/xfs_device /mnt -o uquota,gquota
>
> I first tried this with the 3.2.0 Kernel from Ubuntu 12.04 and hit an
> OOM [1, 2]. In [1], it is said that the OOM is fixed in 3.5, so I tried
> 3.5.7 and 3.6.3 from http://kernel.ubuntu.com/~kernel-ppa/mainline/ (I
> believe these are vanilla kernel.org kernels compiled with Ubuntu's
> configuration).
>
> With 3.5.7 and 3.6.3, the OOM does not occur. For some time after
> issuing the mount command, there is much I/O activity with xfs_inode
> in /proc/slabinfo growing up to ~ 500k entries, which is just fine. At
> some point, the I/O activity stops, but the mount does not terminate.
> The system is completely idle. (The mount was the only activity on the
> system.)
>
> In dmesg, I find
>
> INFO: task mount:8806 blocked for more than 120 seconds.
And then what? Probably a backtrace, right?
sysrq-w to get hung tasks or sysrq-t to get all task traces might
help.
The sysrqs are one of the things suggested in:
http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F
Thanks,
-Eric
> in regular intervals.
>
> Can you help me with this? Thanks in advance.
>
> Regards,
> Milan Holzäpfel
>
>
>
> [1]: http://oss.sgi.com/archives/xfs/2012-06/msg00362.html
> [2]: http://oss.sgi.com/archives/xfs/2012-09/msg00260.html
>
>
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-10-26 19:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 17:15 Enabling quota on XFS filesystem with many files hangs Milan Holzäpfel
2012-10-26 19:01 ` Eric Sandeen [this message]
2012-10-28 12:20 ` Milan Holzäpfel
2012-10-28 21:57 ` Dave Chinner
2012-11-13 15:23 ` Milan Holzäpfel
2012-10-28 12:22 ` Milan Holzäpfel
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=508ADE1C.40208@sandeen.net \
--to=sandeen@sandeen.net \
--cc=listen@mjh.name \
--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