From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d1d2a56e6a1d29e5 X-Google-Attributes: gidfee84,public From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy) Subject: Re: Number of processes per ID? Date: 1996/08/26 Message-ID: <4vs4sj$nn7@vertex.tor.hookup.net>#1/1 X-Deja-AN: 176533504 references: <321DBC5A.7D2E@grci.com> organization: HookUp Communication Corporation, Oakville, Ontario, CANADA nntp-posting-user: mskucher newsgroups: comp.unix.osf.osf1 In article <321DBC5A.7D2E@grci.com>, Bob Blank wrote: >Can someone please tell me how to up the number of >processes allowed per ID. I assume this is my >problem, I'm getting messages "Unable to fork..." >caused by Oracle but I've still got plenty 'O RAM. >Hmmmm.... You need to increase maxusers, maxproc or maxuprc. You could be hitting any of those three limits. maxusers is not really the maximum number of users you're allowed to have, but it should vary with that value. 32 is the default, but I find that once a machine exceeds about 1500 people, you need to double it. The value of maxusers works its way into the calculation of various table sizes in the kernel. maxproc is normally a function of maxusers, but you can use it to "hard-code" the size of the process table if you wish. maxproc is usually defined as (20 + 8 * maxusers) (see /sys/conf/param.c). maxproc is the number of process slots there are in your kernel, regardless of who consumes them. maxuprc is the number of processes a single user can have in existence at one time. This includes running, sleeping, idle, stopped, or zombie processes. The superuser can exceed this limit at all times. The default is 64, but again I find that once you exceed about 1000 users (or if you're running a subsystem like INN), you need to at least double it. To set any of these, just define them in your kernel configuration, or replace the existing definition if it's already there, e.g.: maxusers 64 ...then rebuild your kernel, install the new one, and reboot. Hope this helps. -- Murray S. Kucherawy ====================================== mskucher@hookup.net Vice-President, Software Services HookUp Communication Corporation (905) 847-8000 NIC Handle "MSK" Oakville, Ontario, CANADA -- EMACS: Eight Megs And Constantly Swapping --