Subject: Re: raising maxproc at boot time?
To: Jeff Rizzo <riz@boogers.sf.ca.us>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: netbsd-help
Date: 09/16/2001 20:56:40
On Sun, 16 Sep 2001, Jeff Rizzo wrote:
> > miyu% sysctl -a | grep maxproc
> > kern.maxproc = 532                             <---
> > proc.curproc.rlimit.maxproc.soft = 80
> > proc.curproc.rlimit.maxproc.hard = 532
> 
> Sorry, I guess I haven't made myself very clear.  I know about kern.maxproc, 
> and /etc/sysctl.conf.  In fact, I've already *got* kern.maxproc set to 1024.
> (and I used sysctl.conf to do it)
> 
> The variable I'm actually interested in is proc.<pid>.rlimit.maxproc.soft,
> as that's what controls how many processes a given process is able to spawn.
> I need to have that set to something higher than 80 for the apache
> processes, which is owned by use 'nobody'.

OK, how about a wrapper script for apachectl(?) then that pokes
proc.curproc.rlimit.maxproc.soft etc.?


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/