Date: 06 Jul 1998 12:32:48 +0200 From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) To: Willem Jan Withagen <wjw@surf.iae.nl> Cc: ulf@alameda.net, hackers@FreeBSD.ORG Subject: Re: -stable startup problem Message-ID: <rx4ogv3xoa7.fsf@oslo.geco-prakla.slb.com> In-Reply-To: Willem Jan Withagen's message of Mon, 6 Jul 1998 10:05:17 %2B0200 (MET DST) References: <19980705174409.A786@Alameda.net> <199807060805.KAA16680@surf.IAE.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Willem Jan Withagen <wjw@surf.iae.nl> writes: > In article <19980705183652.A597@Alameda.net> you write: > >On Sun, Jul 05, 1998 at 05:44:09PM -0700, Ulf Zimmermann wrote: > > > cannot alloc 1966082 bytes for lnctp > > Updated /etc/login.conf via a hint from Garyp, seems to work now. > Could you share the hint. Quite simply, fsck runs in login class daemon (IIRC) which has quite strict memory limits - too strict to fsck a large file system. This was fixed before 2.2.5 shipped, so if you are seeing this on -stable, you have forgotten to update your /etc after make world. RCS file: /c/ncvs/src/etc/login.conf,v Working file: login.conf head: 1.20 branch: locks: strict access list: symbolic names: RELENG_2_2_6_RELEASE: 1.9.2.7 RELENG_2_2_5_RELEASE: 1.9.2.3 RELENG_2_2_2_RELEASE: 1.9 RELENG_2_2: 1.9.0.2 keyword substitution: kv total revisions: 27; selected revisions: 27 description: ---------------------------- [...] ---------------------------- revision 1.14 date: 1997/09/23 03:09:51; author: peter; state: Exp; lines: +4 -2 Raise some of the 'daemon' class limits as used by things started from /etc/rc, including inetd and it's children, stuff from /usr/local/etc/rc.d (eg: squid, apache). The default limits are causing a lot of problems including things like fsck failing on large disks. I hope I've understood the quirks of the override mechanism properly. ---------------------------- revision 1.13 date: 1997/07/11 22:11:13; author: guido; state: Exp; lines: +2 -2 Fix typo ---------------------------- revision 1.12 date: 1997/05/23 12:46:52; author: ache; state: Exp; lines: +6 -6 Fix "daemon" class, Apache not works from /etc/rc otherwise. Among bumping several limits, most interesting thing is that Apache requires than "filesize=64M" restriction must be removed. I think it is due to mmap() usage in apache, but I am not shure. ---------------------------- [...] ---------------------------- revision 1.9.2.4 date: 1997/10/25 11:39:21; author: peter; state: Exp; lines: +8 -5 Merge in login.conf relaxations from -current, including a typo fix. ---------------------------- revision 1.9.2.3 date: 1997/05/23 12:59:16; author: ache; state: Exp; lines: +6 -6 Merge "daemon" class limits bumping from -current ---------------------------- [...] DES -- Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rx4ogv3xoa7.fsf>