Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 15:28:14 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Len Conrad <LConrad@Go2France.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: increasing kern.maxproc
Message-ID:  <20010629152528.W803-100000@shumai.marcuscom.com>
In-Reply-To: <5.1.0.14.0.20010629205316.029bac00@mail.Go2France.com>

next in thread | previous in thread | raw e-mail | index | archive | help
kern.maxproc cannot be changed.  It is a read-only variable.  If you need
to up this, change the maxusers option in your kernel config, and
recompile.  For my busy systems, I up maxusers to 256 which gives me 4116
maxproc's.  You should decide what works for you.

maxprocperuid can be changed via sysctl.  It's allowable values are <
maxproc.  It's best you put this in your /etc/sysctl.conf file. e.g.:

kern.maxprocperuid=3D999

Joe Clarke

On Fri, 29 Jun 2001, Len Conrad wrote:

> Where does one do it?
>
> mgw1# sysctl -a | grep maxproc
> kern.maxproc: 532
> kern.maxprocperuid: 531
>
> /boot/loader.conf
> kern.maxproc=3D"1000"
> kern.maxprocperuid=3D"1000"
>
> doesn=B4t work.
>
> Len
>
>
> http://MenAndMice.com/DNS-training
> http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
> http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010629152528.W803-100000>