tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: running out of processes
@ 1997-11-19 18:02 William Whitehead
  0 siblings, 0 replies; only message in thread
From: William Whitehead @ 1997-11-19 18:02 UTC (permalink / raw)
  To: tru64-unix-managers

Many thanks to all of those who helped.  There were a lot of suggestions
about using /etc/sysconfigtab for modifying.  That would have worked, but
my problem was elsewhere.  Juergen, quoted below, helped me figure out my
problem.  The problem occurred because I had changed the system name when I
upgraded my server from 3.2c to 3.2g a few months ago.  This copied the
default files to the new /sys/SYSNAME directory.  But it changed the kernel
based on my /sys/OLDSYSNAME files.  Thus when I recompiled using
/sys/SYSNAME I got the default files.  I had to change the MAXUSERS in the
confdef.h file in /sys/SYSNAME.  It was set to 32, and I changed it to 256.
 This appears to have done it.  It checked the value with
/sys/OLDSYSNAME/confdef.h and that value was set to 256.  Below is the
explaination about the max processes.

************************************************************************
Hi,

I posted this a while ago. It should solve your problem.

Juergen
---------------------------------------------------------------------
Hi fellas,

I received a few answers which helped me solve my problem. 
Although the value max-proc-per-user is dynamically configurable, the
overall maximum number of processes is not. The max number of
processes is a static kernel variable. It  is determined the following
way: NPROC = maxusers * 8 +20

where "NPROC" is the overall maximum number of processes and 
"maxusers" is the variable defined in /sys/conf/YourMachineName. NPROC
is defined in /sys/YourMachineName/param.c. Thus NPROC is statically
compiled into the kernel. To increase it I had to recompile the kernel
and boot. I set maxusers from 32 to 128 and now it works. My overall
max number of processes increased from 276 to 1044 which should be
enough.

As far as I understand there are at least two more possibilities to
increase the number which I have not verified: -You can add a variable
"maxproc" to /sys/conf/YourMachineName, like maxproc 512 or so. -You
can redefine NPROC by changing "#define NPROC (20 + 8 * MAXUSERS)" in 
/sys/YourMachineName/param.c.

No matter what you do, you have to recompile the kernel and reboot.



**********************************************************************
Die Deutsche Bibliothek                             Juergen Bock
Adickesallee 1                                            069-1525-1728
60322 Frankfurt                                          bock@dbf.ddb.de

                       LEBBE GEHT WEIDER

**********************************************************************


Thanks again!

Bill


======================================================================
William (Bill) Whitehead       | Ph:(801)378-3266  Fax:(801)378-6708 | 
Library Information Systems    | Email:                              |
2840 HBLL                      |   mailto:william_whitehead@byu.edu  |
Provo, UT 84602                | Home Page                           |
                               |  http://www.lib.byu.edu/~wbw        |
======================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-19 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-19 18:02 SUMMARY: running out of processes William Whitehead

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