xfs
[Top] [All Lists]

Re: User processes run out of memory on XFS directory

To: Josh Fishman <fishman@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: User processes run out of memory on XFS directory
From: Michael Loftis <mloftis@xxxxxxxxx>
Date: Mon, 21 Jul 2003 15:12:03 -0600
In-reply-to: <Pine.SUN.4.33.0307211655210.20037-100000@xxxxxxxxxxxxxxxxx>
References: <Pine.SUN.4.33.0307211655210.20037-100000@xxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
'ls' builds an in-memory image of all files so it can sort it

try

find . -print
or
find . -ls

instead.

--On Monday, July 21, 2003 17:06 -0400 Josh Fishman <fishman@xxxxxxxxxxx> wrote:


Hi List!

I couldn't find this in the archive; sorry if it's already been discussed
to death. I'm trying to read a couple of XFS partitions that I recovered
from a dead SGI, dd'd to a Linux disk, and am now trying to mount using
loop-back.

One partition-image mounts fine, it seems, but has a subdirectory that I
can't list. "ls" slowly grows larger in memory until it's eaten all 1024
MB of RAM on the machine, then it dies with an "out of memory" error.

The other partition-image won't mount, but I haven't tried the "nouuid"
trick yet, so I won't bother y'all with it just yet.

Back to the Unlistable Image: I'm not getting any bad kernel or syslog
messages, dmesg isn't informative, and I've compiled in the "debug" flags
for XFS. I'm using linux-2.4.21 with:

snapshot-xfs-2.4.21-2003-07-07_02:01_UTC with ACLs, realtime, debug
enabled

Any ideas?

Thanks, ---Josh





--
Michael Loftis
Modwest Sr. Systems Administrator
Powerful, Affordable Web Hosting


<Prev in Thread] Current Thread [Next in Thread>