Date: Tue, 2 Dec 1997 09:59:25 -0700 (MST) From: grandi@noao.edu To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/5191: fsck during boot fails due to lack of resources Message-ID: <199712021659.JAA08288@noao.edu> Resent-Message-ID: <199712021700.JAA14244@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 5191 >Category: conf >Synopsis: fsck during boot fails due to lack of resources >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 2 09:00:01 PST 1997 >Last-Modified: >Originator: Steve Grandi >Organization: National Optical Astronomy Observatories, Tucson, Arizona USA >Release: FreeBSD 2.2.5-RELEASE i386 >Environment: Generic kernel >Description: During boot, fsck fails on one particular file system with the message: cannot alloc 7730626 bytes for lncntp Said filesystem is big and has lots of inodes: Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/sd2s1e 8396407 5387897 2336797 70% 1484960 2380350 38% /var/spool/news >How-To-Repeat: reboot >Fix: The resources allocated to "daemon" in /etc/login.conf need to be increased. No attempt was made to tune these increased parameters. noao% diff -C3 /usr/src/etc/login.conf /etc/login.conf *** /usr/src/etc/login.conf Fri May 23 05:59:16 1997 --- /etc/login.conf Tue Dec 2 08:44:15 1997 *************** *** 130,142 **** daemon:\ :coredumpsize=0:\ :datasize=32M:\ :maxproc=256:\ :maxproc-cur@:\ :memoryuse-cur=64M:\ :memorylocked-cur=64M:\ :openfiles=1024:\ :openfiles-cur@:\ ! :stacksize=16M:\ :tc=default: --- 130,144 ---- daemon:\ :coredumpsize=0:\ :datasize=32M:\ + :datasize-cur=32M:\ :maxproc=256:\ :maxproc-cur@:\ :memoryuse-cur=64M:\ :memorylocked-cur=64M:\ :openfiles=1024:\ :openfiles-cur@:\ ! :stacksize=32M:\ ! :stacksize-cur=32M:\ :tc=default: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712021659.JAA08288>