Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy)
Subject: Re: Number of processes per ID?
Date: 1996/08/26	[thread overview]
Message-ID: <4vs4sj$nn7@vertex.tor.hookup.net> (raw)
In-Reply-To: 321DBC5A.7D2E@grci.com


In article <321DBC5A.7D2E@grci.com>, Bob Blank  <bblank@grci.com> 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                 --



  reply	other threads:[~1996-08-26  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-23  4:00 Number of processes per ID? Bob Blank
1996-08-26  4:00 ` Murray S. Kucherawy [this message]
1996-08-27  4:00 ` marko.einamo
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox