I had originally asked how to adjust the maximum number of processes
allowed per user. I had the answer before I got my own question!
Thank-you very much:
"Arora, Samir" <sarora@ELDEC.com>
nesrin_ozus@karmaint.com
Antonia Gomez <antonia@fib.upc.es>
Christophe DIARRA <diarra@ipno.in2p3.fr>
Mike Zeleznik mzeleznik@usr.com
Chris Marble <cmarble@orion.ac.hmc.edu>
Urvashi Shah <shah@math.ufl.edu>
In short, you edit /etc/system and add the line
set maxuprc=500 (default is 100)
and then reboot.
You can use sysdef to list the tunable parameters:
*
* Tunable Parameters
*
630784 maximum memory allowed in buffer cache (bufhwm)
490 maximum number of processes (v.v_proc)
99 maximum global priority in sys class (MAXCLSYSPRI)
100 maximum processes per user id (v.v_maxup)
30 auto update time limit in seconds (NAUTOUP)
25 page stealing low water mark (GPGSLO)
5 fsflush run rate (FSFLUSHR)
25 minimum resident memory for avoiding deadlock (MINARMEM)
25 minimum swapable memory for avoiding deadlock (MINASMEM)
The parameters to adjust are:
set maxusers=300
set maxuprc=64
set max_nprocs=3096
set pt_cnt=768
set npty=768
set nautopush=768
Here are some individual responses which contain more information:
------------------------------------------------------------------------------
sysadm@its.brooklyn.cuny.edu Bill
in /etc/system add
set maxuprc=100
^^^ less than maximum number of processes as shown by
sysdef
*
* Tunable Parameters
*
630784 maximum memory allowed in buffer cache (bufhwm)
490 maximum number of processes (v.v_proc)
99 maximum global priority in sys class (MAXCLSYSPRI)
100 maximum processes per user id (v.v_maxup)
30 auto update time limit in seconds (NAUTOUP)
25 page stealing low water mark (GPGSLO)
5 fsflush run rate (FSFLUSHR)
25 minimum resident memory for avoiding deadlock (MINARMEM)
25 minimum swapable memory for avoiding deadlock (MINASMEM)
and reboot.
------------------------------------------------------------------------------
<Sorry, I lost the reference>
Have you tried adjusting the maxuser's parameter in the /etc/system
file? According to "Sun Performance and Tuning" by Adrian Cockcroft of
Sun Microsystems (you can order the book by SunExpress - I highly
recommend it!), page 187, the number of processes is set to:
10 + 16 * maxusers
If you don't want to play with the maxusers parameter (it does effect a
lot of other tables), it looks like you can also set max_nprocs to be
the size of your desired process table. Be aware, though, this
parameter also affects other tables (inode cache, name cache, etc.)
------------------------------------------------------------------------------
" Rogerio Rocha - BVL - Lisbon Stock Exchange -I.S." <rogerio@bvl.pt>
Edit /etc/system, to insert higher values for :
set maxusers=300
set maxuprc=64
set max_nprocs=3096
set pt_cnt=768
set npty=768
set nautopush=768
------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~