All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Andreas Dilger <adilger@dilger.ca>
Cc: Andre Noll <maan@systemlinux.org>,
	linux-ext4 <linux-ext4@vger.kernel.org>,
	Marcus Hartmann <marcus.hartmann@tuebingen.mpg.de>
Subject: Re: Memory allocation failed, e2fsck: aborted
Date: Wed, 18 Aug 2010 20:54:04 -0400	[thread overview]
Message-ID: <20100819005404.GO21182@thunk.org> (raw)
In-Reply-To: <EDA85D20-C083-41FE-B561-8014C496C4CB@dilger.ca>

On Wed, Aug 18, 2010 at 02:20:13PM -0600, Andreas Dilger wrote:
> 
> Ah, that is also a major user of memory, and not necessarily one
> that optimizing the internal bitmap will help significantly.  It may
> well be that your swap cannot be used if a single allocation is in
> the same neighbourhood as the total RAM size.

Something which *might* help (but will take a long time) is to add to
your /etc/e2fsck.conf (if you have one; if not create one wiht these
contents):

[scratch_files]
    directory = /var/cache/fsck

(And then make sure /var/cache/fsck exists.)

Unfortunately, as it turns out tdb (from Samba) doesn't scale as much
as I would have liked, so it's on my todo to replace this with
something else.  The problem with that berk_db has non-standard
interfaces and varies from version to version.  So I've avoided using
it up until now.

But try it, and see if this will help....  it may still be way too
slow.

A related blog entry:

http://thunk.org/tytso/blog/2009/01/12/wanted-incremental-backup-solutions-that-use-a-database/

					- Ted

P.S.  I recently was told about a new backup system that meets the
requirements detailed in my post:

    http://sites.google.com/site/hashbackup/home/features

I haven't tried it yet, but it looks interesting.  Let me know if you
do try it and what you think of it.

  reply	other threads:[~2010-08-19  0:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 14:04 Memory allocation failed, e2fsck: aborted Andre Noll
2010-08-18 20:20 ` Andreas Dilger
2010-08-19  0:54   ` Ted Ts'o [this message]
2010-08-19 13:10     ` Andre Noll
2010-08-19 17:16       ` Ted Ts'o
2010-08-20 14:40         ` Andre Noll
2010-08-20 14:36       ` Andre Noll
2010-08-19 13:01   ` Andre Noll
2010-08-19 19:03     ` Andreas Dilger
2010-08-20 12:46       ` Ted Ts'o
2010-08-20 14:39       ` Andre Noll
2010-08-23 15:53         ` [PATCH]: icount: Replace the icount list by a two-level tree Andre Noll
2010-11-01 22:49           ` Mala Iyer
2010-11-01 23:23             ` Andreas Dilger

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=20100819005404.GO21182@thunk.org \
    --to=tytso@mit.edu \
    --cc=adilger@dilger.ca \
    --cc=linux-ext4@vger.kernel.org \
    --cc=maan@systemlinux.org \
    --cc=marcus.hartmann@tuebingen.mpg.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.