From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,70b289777be0311e X-Google-Attributes: gidfee84,public From: strange@zk3.dec.com (Steve Strange USG) Subject: Re: fork: too many processes Date: 1995/10/11 Message-ID: #1/1 X-Deja-AN: 117379411 references: <45bhds$nvg@surz03.HRZ.Uni-Marburg.DE> <1995Oct10.084735.3060@zh014.ubs.ubs.ch> organization: Digital Equipment Corp. newsgroups: comp.unix.osf.osf1 In article <1995Oct10.084735.3060@zh014.ubs.ubs.ch> zhmte@svusenet.ubs.ch writes: > Juergen Schroeder (schroedj@pcub30.UB.Uni-Marburg.DE) wrote: > : I had a 2100, 256 MRAM, OSF 3.2 a kernel with maxuser=80. If there are 35 > : users (all on the same username doing some sybase stuff) I get the message: > : > : /fork :Operation would block > : connot fork: too many processes > : > : Which kernel parameters should I modify? > : maxprog is 8*maxuser+20 = 580 processes > : > : The system has around 80 processes. > : > > there is also a parameter which limits the 'per user processes', I mean the > number of processes which may run under the same uid. Under Ultrix and > SunOS, this one is called 'maxuprc', have a look at that! You can set maxuprc in the config file, or set it in /etc/sysconfigtab if you don't want to have to rebuild your kernel. man sysconfigtab for more info. maxuprc is the same as max-proc-per-user in sysconfigtab, mine is set to 64: strange@squeeze> sysconfig -q proc | grep user max-proc-per-user = 64 max-threads-per-user = 256 -- Steve Strange strange@zk3.dec.com Digital Equipment Corporation, Nashua, NH (603) 881-0595 Digital UNIX DCE DFS Development