From owner-freebsd-current Mon Feb 20 15:34:36 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA24651 for current-outgoing; Mon, 20 Feb 1995 15:34:36 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA24641 for ; Mon, 20 Feb 1995 15:34:33 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id PAA05882; Mon, 20 Feb 1995 15:32:44 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id PAA00309; Mon, 20 Feb 1995 15:32:43 -0800 Message-Id: <199502202332.PAA00309@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: jhs@regent.e-technik.tu-muenchen.de cc: current@FreeBSD.org Subject: Re: Possible kern.maxproc fatal bug In-reply-to: Your message of "Sun, 19 Feb 95 12:58:57 +0100." <199502191158.MAA12218@vector.eikon.e-technik.tu-muenchen.de> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 20 Feb 1995 15:32:35 -0800 Sender: current-owner@FreeBSD.org Precedence: bulk >I report this in case it points a finger towards inadequate limit checking in >the kernel: > (how i managed to induce the bug, with my mangled ports make set up, > doesn't worry me, it's the kernel reaction that is of interest ) > >As last line in my /etc/rc.local I used to have > sysctl -w kern.maxproc=300 >An innocent > cd /usr/ports ; make -i >would then always crash the system (even when compiled as normal user, >& with everything in ports having been changed to owner jhs (thus no suid 0 >stuff lurking in /usr/ports)). Probably because the proc table is not dynamically sized. Basically, you can't change maxproc - it probably should not by managed by sysctl. >I would merely get on console: > Feb 19 11:38:32 vector kernel.nu: proc: table is full >(The system was forking a series of nominal ncftp's & makes recursively) Increase the maxusers parameter in your kernel config file. -DG