Subject: Re: utmp and maxusers.
To: Stephen M Jones <>
From: Wojciech Puchar <>
List: netbsd-users
Date: 08/21/2001 22:05:35
> while true;do ssh -v -t -t localhost;sleep 2;done|sh
> with RSA enabled so you can ssh localhost automatically.
> for me at 39'th login it stops waiting for shell prompt, cpu is unloaded,
> process and file limits not reached

i found it's because of process limit of 80. without i could have as many
utmp entries as pty's

i can raise it in /etc/profile but several programs not started through
shell/login (procmail for eg.) still gets default 80 and can't start when
there is more than 80 user processes.

how to set global default -p ulimit for everybody?

kern.maxproc is 1044 here

i can't find any sysctl for that