Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 1995 07:23:47 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        ghelmer@alpha.dsu.edu, guido@gvr.win.tue.nl
Cc:        freebsd-hackers@freefall.cdrom.com
Subject:   Re: Max procs per user
Message-ID:  <199502272023.HAA17707@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>particular kernel).  When looking through kernel include files, it
>appeared that there is a limit of 40 procs per user ("#define MAXUPRC
>CHILD_MAX" in /sys/sys/param.h, where CHILD_MAX is 40 in syslimits.h), but
>I was hoping there was a way around that.  Perhaps I have to change the
>include files and rebuild the kernel? 

User setrlimit(2), or `ulimit' in bash, or `limit' in csh...  MAXUPRC
is only the default.  CHILD_MAX shouldn't be defined because the limit
isn't constant.

>> In FreeBSD 2.1 you can increase this limit runtime with 
>> 	sysctl kern.maxprocperuid

sysctl is easier to use than *limit, but less flexible.

Bruce



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