From: bugzilla-daemon@kernel.org
To: linux-xfs@vger.kernel.org
Subject: [Bug 216007] XFS hangs in iowait when extracting large number of files
Date: Tue, 24 May 2022 07:54:12 +0000 [thread overview]
Message-ID: <bug-216007-201763-yqCmjiClvN@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-216007-201763@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=216007
Jan Kara (jack@suse.cz) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jack@suse.cz
--- Comment #10 from Jan Kara (jack@suse.cz) ---
(In reply to Peter Pavlisko from comment #6)
> (In reply to Chris Murphy from comment #2)
> > number of CPUs
>
> 1 CPU, 2 cores (Intel Celeron G1610T @ 2.30GHz)
OK, not much CPU power :)
> > contents of /proc/meminfo
>
> (at the time of iowait hangup)
>
> MemTotal: 3995528 kB
> MemFree: 29096 kB
> MemAvailable: 3749216 kB
> Buffers: 19984 kB
> Cached: 3556248 kB
> SwapCached: 0 kB
> Active: 62888 kB
> Inactive: 3560968 kB
> Active(anon): 272 kB
> Inactive(anon): 47772 kB
> Active(file): 62616 kB
> Inactive(file): 3513196 kB
> Unevictable: 0 kB
> Mlocked: 0 kB
> SwapTotal: 2097084 kB
> SwapFree: 2097084 kB
> Dirty: 28 kB
> Writeback: 0 kB
Interestingly basically no dirty memory or memory under writeback. Basically
everything is in Inactive(file) list which should be very easy to reclaim. But
given you say we make no progress in reclaiming memory and from the traces we
see process is hung waiting for memory allocation, it may be that the page
cache pages are pinned in memory by extra references or something like that.
The question is what could be XFS doing that clean page cache cannot be
reclaimed? I have no good answer to that...
...
> 8 0 1953514584 sda
> 8 1 131072 sda1
> 8 2 2097152 sda2
> 8 3 1951285336 sda3
> 8 16 1953514584 sdb
> 8 17 131072 sdb1
> 8 18 2097152 sdb2
> 8 19 1951285336 sdb3
> 8 32 976762584 sdc
> 8 33 976761560 sdc1
> 11 0 1048575 sr0
> 9 3 1951285248 md3
> 9 2 2097088 md2
> 9 1 131008 md1
Actually not that much overall memory compared to the disk sizes or the size of
unpacked archive.
You've mentioned another kernel config does not exhibit the problem. Can you
perhaps post it here for comparison?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2022-05-24 7:54 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 11:56 [Bug 216007] New: XFS hangs in iowait when extracting large number of files bugzilla-daemon
2022-05-20 11:56 ` [Bug 216007] " bugzilla-daemon
2022-05-20 20:46 ` bugzilla-daemon
2022-05-20 23:05 ` [Bug 216007] New: " Dave Chinner
2022-05-20 23:05 ` [Bug 216007] " bugzilla-daemon
2022-05-21 5:14 ` bugzilla-daemon
2022-05-21 22:31 ` Dave Chinner
2022-05-21 22:31 ` bugzilla-daemon
2022-05-23 8:29 ` bugzilla-daemon
2022-05-23 8:31 ` bugzilla-daemon
2022-05-23 10:02 ` bugzilla-daemon
2022-05-23 10:28 ` bugzilla-daemon
2022-05-24 7:54 ` bugzilla-daemon [this message]
2022-05-24 10:00 ` bugzilla-daemon
2022-05-24 10:49 ` bugzilla-daemon
2022-05-24 10:52 ` bugzilla-daemon
2022-05-24 10:53 ` bugzilla-daemon
2022-05-24 11:21 ` bugzilla-daemon
2022-05-24 11:48 ` bugzilla-daemon
2022-05-24 11:49 ` bugzilla-daemon
2022-05-25 17:13 ` bugzilla-daemon
2022-05-26 4:04 ` bugzilla-daemon
2022-05-26 8:51 ` bugzilla-daemon
2022-05-26 9:16 ` bugzilla-daemon
2022-05-26 10:26 ` bugzilla-daemon
2022-05-26 10:37 ` bugzilla-daemon
2022-06-04 16:25 ` bugzilla-daemon
2022-06-05 7:51 ` bugzilla-daemon
2022-06-06 7:49 ` bugzilla-daemon
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=bug-216007-201763-yqCmjiClvN@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-xfs@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).