From owner-freebsd-bugs Tue Dec 2 09:00:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA14261 for bugs-outgoing; Tue, 2 Dec 1997 09:00:04 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA14244; Tue, 2 Dec 1997 09:00:02 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 2 Dec 1997 09:00:02 -0800 (PST) Resent-Message-Id: <199712021700.JAA14244@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, grandi@noao.edu Received: from noao.edu (noao.edu [140.252.1.54]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA14183 for ; Tue, 2 Dec 1997 08:59:29 -0800 (PST) (envelope-from grandi@noao.edu) Received: (from grandi@localhost) by noao.edu (8.8.7/8.8.5/SAG-14May97) id JAA08288; Tue, 2 Dec 1997 09:59:25 -0700 (MST) Message-Id: <199712021659.JAA08288@noao.edu> Date: Tue, 2 Dec 1997 09:59:25 -0700 (MST) From: grandi@noao.edu Reply-To: grandi@noao.edu To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: conf/5191: fsck during boot fails due to lack of resources Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: