From owner-freebsd-hackers Tue Jul 11 1: 7: 7 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gateway.posi.net (c1096725-a.smateo1.sfba.home.com [24.20.139.104]) by hub.freebsd.org (Postfix) with ESMTP id F420837BBDC for ; Tue, 11 Jul 2000 01:07:02 -0700 (PDT) (envelope-from kbyanc@posi.net) Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.9.3/8.9.3) with ESMTP id BAA36597; Tue, 11 Jul 2000 01:11:15 -0700 (PDT) (envelope-from kbyanc@posi.net) Date: Tue, 11 Jul 2000 01:11:14 -0700 (PDT) From: Kelly Yancey To: clefevre@citeweb.net Cc: Narvi , core-ix@hushmail.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Some proposals to FreeBSD kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10 Jul 2000, Cyrille Lefevre wrote: > some time ago, I had a similar problem. too many processes forked, power off... > reboot impossible. the cause of this problem was to define nisdomainname w/ > activating nis services. so portmap give up thoses processes to log errors > messages because it was trying to contact nis services which was not there. > I take some time to find /etc/login.conf. the question is, why all default > limits are so permissives (unlimited) by default ? as I remember, it took me > some days w/ many boots to find the reason of portmap failure. an idea would > be to add some limit to limit the number of processes forked by a process (at > one time in addition to the number of processes by user which may be relative > to the system wide limit (maxprocperproc=nproc-10). which is something like the > openfiles limit (w/o the system wide reference but which is possible as well, > like maxfilesperproc=nfiles-10). > It isn't exactly what you asked for, but PR 15860 is a start. Kelly -- Kelly Yancey - kbyanc@posi.net - Belmont, CA System Administrator, eGroups.com http://www.egroups.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message