Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2006 06:11:35 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br>
Cc:        stable@freebsd.org, fs@freebsd.org
Subject:   Re: fsck: cannot increase directory list and Out of Memory .
Message-ID:  <43E9DFF7.4070400@centtech.com>
In-Reply-To: <43E9DD03.8040008@yahoo.com.br>
References:  <43E9DD03.8040008@yahoo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Ricardo A. Reis wrote:
> Hi,
>
>
> I have  severals problems with one server ibm x346, i use FreeBSD 
> 6-STABLE,
>
> After a electric panic, this  system refused to pass fsck  with a 
> message "fsck: cannot increase directory list" ,
> the ibm bios not notified per  "memory errors", i rebooting and boot 
> with fresbie and pass fsck and this work.
> In the same machine i have a geom concat volume with +/- 90 GB, i 
> don't have success to pass fsck
> on console "cannot alloc 6404196 bytes for bockmap ".
> Before fail geom mount i comment this partition on fstab,  i resolved 
> reboot for normal boot
> but any  commands and login resulted in "out of memory"


You need to increase the maxdsiz setting to something bigger - the 
default I believe is 512MB, so if you have say, 1GB of memory, you may 
try setting it to 800MB. 

You set it in /boot/loader.conf by adding a line like this:

kern.maxdsiz="768000000"

Eric


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E9DFF7.4070400>