On 2017/10/06 13:51, Ted Unangst wrote:
> Stuart Henderson wrote:
> > I have been bumping into maxproc limits a lot recently on my
> > workstation. While I do have quite a lot of processes at times, I don't
> > think I have quite been tripping into the limits of number of actual
> > processes.
> > 
> > It seems that perhaps threads are counted towards these. Is that
> > expected/desirable? If so, would it be sane to raise the defaults
> > in login.conf and NPROCESS? 1310 isn't a lot when chromium is
> > using 500+.
> 
> kern.maxthread defaults to 1950. i have no idea what logic the formula is
> attempting to express. each user will run one multithreaded process of 8
> threads? huh?
> 
> conf/param.c:int        maxthread = NPROCESS + 8 * MAXUSERS;
> 

Ah, I missed the separate kern.maxthread. I'll at least bump that
locally then (I had already bumped maxproc). I have some java crap
as well, when that's running alongside chromium there aren't many
free.



Reply via email to