NPROC and/or MAXUPRC and OS X

119 views
Skip to first unread message

Bob Uncle

unread,
Feb 18, 2003, 10:27:11 AM2/18/03
to
Can anyone tell me how I'd change the NPROC and/or the MAXUPRC kernel
parameters under OS X?

thanks,
bu.

Anthony Lawrence

unread,
Feb 18, 2003, 11:03:30 AM2/18/03
to
In article <180220030827110460%bobn...@youruncle.com>, Bob Uncle
<bobn...@youruncle.com> wrote:

> Can anyone tell me how I'd change the NPROC and/or the MAXUPRC kernel
> parameters under OS X?

I didn't even know those were available - sysctl -a doesn't list 'em -
if it did, it could set them.

On my OS X:

bash-2.05a$ sysctl -a | grep -i proc
kern.maxproc = 532

On a Free BSD system:


bash-2.05a$ sysctl -a | grep -i proc
kern.maxproc: 8212
kern.maxfilesperproc: 16424
kern.maxprocperuid: 8211
kern.ps_showallprocs: 1
kern.shutdown.kproc_shutdown_wait: 60
vm.max_proc_mmap: 43690
PROC: 416, 0, 268, 173, 182379
debug.sizeof.proc: 412
jail.limits.rlimit_nproc.hard: 8211
jail.limits.rlimit_nproc.current: 17

--
Tony Lawrence
Learn more about SCO Unix, Mac OS X or Linux
Free Sample Download: http://aplawrence.com/skillstest.html

Reply all
Reply to author
Forward
0 new messages