xfs
[Top] [All Lists]

Re: Running xfs_repair fails with malloc error

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Running xfs_repair fails with malloc error
From: "Al D. Baran" <alde@xxxxxxxx>
Date: Mon, 29 Apr 2002 16:55:10 -0500 (CDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1020108647.5808.8.camel@stout.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
The largest directory has 15k entries:

Total for ./web/k/k_labo: = 1720
Total for ./web/j: = 3120
Total for ./web/com/cgi-bin/aa: = 5113
Total for ./web/6794: = 5732
Total for ./web/tabo: = 15244

the largest nested directory structure is 15:

Longest is
./web/com/cgi-bin/aa/scan/rf=0,title,price,description,pic,picb,code,act1,act2,act3/fi=products.asc/rl=title/sp=results2/ra=yes/rm=0/rx=999/rg=yes/st=text
with 15

--Pete



On 29 Apr 2002, Eric Sandeen wrote:

> Date: 29 Apr 2002 14:30:47 -0500
> From: Eric Sandeen <sandeen@xxxxxxx>
> To: Al D. Baran <alde@xxxxxxxx>
> Cc: linux-xfs@xxxxxxxxxxx
> Subject: Re: Running xfs_repair fails with malloc error
>
> Hi Al -
>
> How are the files laid out?  the malloc size is based on the size of the
> directory:
>
>        freetab = malloc(FREETAB_SIZE(ip->i_d.di_size / mp->m_dirblksize));
>
> Do you happen to have a -really- huge directory on the filesystem?  Or
> maybe something has gone bad before this point...
>
> -Eric
>
> On Mon, 2002-04-29 at 13:46, Al D. Baran wrote:
>
> > fatal error -- malloc failed in longform_dir2_entry_check (1073741836 bytes)
>
> --
> Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
> sandeen@xxxxxxx   SGI, Inc.
>

---
"Look, would it save you all this bother if I just gave up and went mad, Now?"
"Imagination is more important than knowledge." --Einstein



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