From owner-freebsd-questions Tue Feb 10 19:48:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28563 for questions-outgoing; Tue, 10 Feb 1998 19:48:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA28394 for ; Tue, 10 Feb 1998 19:48:12 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id TAA00314; Tue, 10 Feb 1998 19:48:04 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 10 Feb 1998 19:48:04 -0800 (PST) From: Doug White Reply-To: Doug White To: Rob Miracle cc: freebsd-questions@FreeBSD.ORG Subject: Re: Another wierd Kernel Question In-Reply-To: <199802101906.OAA05894@Central.KeyWest.MPGN.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Feb 1998, Rob Miracle wrote: > We are having problems spawning more than 64 processes under a given ID. > We have maxprocperuid set to 1043 (20 + 16*MAXUSERS)-1. One one machine it > works fine, on another it limits us to 63. Both machines are running with > identical CONFIG files and param.c files. MAXUSERS is set to 64. > > We have a small program that just spawns processes until it cant and > reports the number of processes spawned that we use to test this. On the > good machine, regardless of UID, it spawns out well over 900 processses as > root, and over 1020 as a given non-root UID (depends on how many other > processes are running). On the problem machine, root gets all 900+ > processes. Non-root UID's only get 63. > > sysctl reports 1043 for kern.maxprocperuid. > > We are greatly confused. Any suggestions would be greatly appreciated. /etc/login.conf; you're limited by login classes. the sysctl is the system hard limit. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message