Subject: Re: More process
To: Frederic CIRERA <fred@ai.univ-paris8.fr>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 12/25/1996 13:32:09
On Wed, 25 Dec 1996 01:54:03 +0100 (MET) 
 Frederic CIRERA <fred@ai.univ-paris8.fr> wrote:

 > I have a very big http server and the default process limit to 100 is
 > too low for this application.

Err, I assume this is the resource limit imposed on the process, not the
global process limit?  You can increase the number of possible processes
a couple of ways:

	- bump "maxusers" in your kernel config file

	- use sysctl(8) to increase kern.maxproc

For the per-process resource limit, use the getrlimit() and setrlimit()
library functions to alter the limits.  You can also change the limit
in the shell before the http server is exec'd.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939