> 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;
Logic? It doesn't need to be logical. It is attempting to invent some sort of limit. If there isn't some sort of limit on resource allocation, all sorts of worse problems can pop up.
