Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 1997 09:41:32 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        Shimon@i-Connect.Net (Simon Shapiro)
Cc:        freebsd-bugs@FreeBSD.org (FreeBSD bugs list)
Subject:   Re: bin/2633: fsck -p in /etc/rc fails with cannot alloc nnnn by
Message-ID:  <Mutt.19970204094132.j@uriah.heep.sax.de>
In-Reply-To: <XFMail.970203234406.Shimon@i-Connect.Net>; from Simon Shapiro on Feb 3, 1997 23:32:26 -0800
References:  <Mutt.19970203221502.j@uriah.heep.sax.de> <XFMail.970203234406.Shimon@i-Connect.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
As Simon Shapiro wrote:

> > On another chance, does fsck simply run out of VM limits?  See
> > ulimit...
> 
> Ulimit is ``unlimited'', unless it does something different (and silly?)
> at boot time.

The VM limits cannot be `unlimited'. :-)

# ulimit -a
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  65536
stack size              (kbytes, -s)  8192
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  29852
locked memory           (kbytes, -l)  9952
max user processes              (-u)  100
open files                      (-n)  680
# ulimit -d unlimited
# ulimit -s unlimited
# ulimit -a
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  131072
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  29852
locked memory           (kbytes, -l)  9952
max user processes              (-u)  100
open files                      (-n)  680

As you can see, the default hard limits are 128 MB for data, and 64 MB
for stack.

> As this one is a basic, boot time, plain vanilla issue, I am sort of
> ``playing dumb'' here.  As I am still new here, am I expected to fix that
> (since I spoke first :-) or there is an ``official maintainer'' for this
> piece?

Not that i know of...

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970204094132.j>