From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,f9958e822459650c X-Google-Attributes: gidfee84,public From: Erik Persson Subject: Re: setting max. process limit? Date: 1997/04/13 Message-ID: #1/1 X-Deja-AN: 234514938 Sender: erik@elgar.ikp.liu.se References: <5ip32k$17p6@tiger.middlebury.edu> Organization: IKP - Linkoping University Newsgroups: comp.unix.osf.osf1 otisg@puma.middlebury.edu (Otis Gospodnetic) writes: > > > Hi, > > I was wondering how I could set/increase the maximum process limit for a > particular user on our Alpha that is running OSF1 (OSF1 V3.2 148 alpha) ? > > Is there a way to set the limit for a particular user, or do we have to bump > up the limit for all users on the machine ? > > Either way, how can that be done? > > Thanks! > > Otis > P.S. > btw. the problem that is the reason for this question is that our Web server > (netscape enterprise 1.12) chokes when it has to fork too many processes, and > reports fork() failures. I assume that's not the web server problem but > simply the configuration of our Alpha and oSF1 on it. > -- > POPULUS, the Intelligent People Locator -- http://www.POPULUS.net/ The maximum number of processes is controlled by the maxusers macro (or variable or whatever) in /sys/conf/HOSTNAME. Change that from the default 32 to something larger - maybe 128 or 256 - and rebuild the kernel. A possibly forking web server with many accesses running lots of CGI scripts etc will consume a lot of processes. There are also some tips on kernel tuning Digital Unix for Web services on www.digital.com. /Erik -- Erik Persson, System Manager e-mail: erik@ikp.liu.se Dept. of Mech. Engineering Voice: +46 13 28 2464 Division of Solid Mechanics Fax: +46 13 21 2717 University of Link�ping, Sweden