xfs
[Top] [All Lists]

Re: xfs_db: out of memory (2.9.8)

To: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Subject: Re: xfs_db: out of memory (2.9.8)
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 25 Oct 2008 08:07:25 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <alpine.DEB.1.10.0810250855430.5734@xxxxxxxxxxxxxxxx>
References: <alpine.DEB.1.10.0810250801360.5019@xxxxxxxxxxxxxxxx> <4903161D.9040204@xxxxxxxxxxx> <alpine.DEB.1.10.0810250855430.5734@xxxxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)
Justin Piszcz wrote:
> 
> On Sat, 25 Oct 2008, Eric Sandeen wrote:
> 
>> Justin Piszcz wrote:
>>> For the root partition I get "out of memory" when I try to check for
>>> fragmentation.
>>>
>>> # xfs_db -c frag -f /dev/md2
>>> xfs_db: out of memory
>> "-f" means "stored in a file"
>>
>>> # mount | grep "/dev/md2"
>>> /dev/md2 on / type xfs (rw,noatime)
>> It looks like you're cheating your way around:
>>
>> xfs_db: /dev/md2 contains a mounted filesystem
>>
>> fatal error -- couldn't initialize XFS library
>>
>> I'm not sure if that matters in this respect, though.
>>
>> You could use gdb to find out which allocation is failing.
>>
>>> # xfs_db -V
>>> xfs_db version 2.9.8
>>>
>>> Any idea?
>> Don't worry so much about that fragmentation stat? :)
>>
>> -Eric
>>
>>> Justin.
>>>
>>>
> 
> .. but it used to work :(

if you can find out when it changed, maybe it can change back.

> Loaded symbols for /lib/libgcc_s.so.1
> Error while mapping shared library sections:
> ease: No such file or directory.
> (no debugging symbols found)

... so the output isn't so useful here

> mmap(NULL, 31221911552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = -1 ENOMEM (Cannot allocate memory)

32G...

-Eric

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