lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100820144005.GA16603@skl-net.de>
Date:	Fri, 20 Aug 2010 16:40:05 +0200
From:	Andre Noll <maan@...temlinux.org>
To:	Ted Ts'o <tytso@....edu>
Cc:	Andreas Dilger <adilger@...ger.ca>,
	linux-ext4 <linux-ext4@...r.kernel.org>,
	Marcus Hartmann <marcus.hartmann@...bingen.mpg.de>
Subject: Re: Memory allocation failed, e2fsck: aborted

On Thu, Aug 19, 13:16, Ted Ts'o wrote:
> On Thu, Aug 19, 2010 at 03:10:17PM +0200, Andre Noll wrote:
> > Silly question: Would it be possible to simply mmap a large enough
> > file for the data and and use e.g. rbtrees for the lookups? If yes,
> > osl [1] could probably be an option. It's very simple but likely too
> > slow on inserts to be useful for e2fsprogs.
> 
> As I recall, you're on a 32-bit machine, right?

Right.

> If so, a limitation you may run into is simply running out of address
> space.  If it's not an address space issue, we don't need to mmap
> anything; you could just try enabling swap, and use the existing
> e2fsck code.
> 
> (I had assumed you had tried that before suggesting you use the
> scratch_files tdb approach....)

Yes, I added 50G of swap (which is of course kind of silly) before my
first posting. This did not help, so I guess it is an address space
issue. My question about mmap was about an alternative to tdb btw.

Thanks
Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ