SUMMARY: tuning maximum number of processes

From: John Christian <potus98_at_yahoo.com>
Date: Fri Oct 21 2005 - 15:13:43 EDT
SUMMARY: tuning maximum number of processes (original post at bottom)

Hi gurus,

Thanks to Casper Dik, Christopher Barnard, Daniel Michaelis, Anthony D'Atri,
and JV for taking the time to respond with helpful input.

The original /etc/system entry of "set maxuprc = 128" is too low for this
server. Apparently, this used to be a default value (within our shop) for
security reasons. The idea was to reduce exposure to DOS attacks since no
single user ID could have more than 128 processes.

I could adjust maxuprc manually and increase it to 512, but Casper suggested it
would be better to remove the statement altogeather and allow the system to
calculate its own settings at reboot. The auto-config algorithms set values
based on the amount of memory available and are usually a good place to start.

Adjusting maxusers does not affect the maxuprc setting.

"sysdef -i" will show the values currently in effect. As you can see from the
output snip below, the system figures I could go waaaaay beyond the initial
goal of 512:

*
* Tunable Parameters
*
335175680       maximum memory allowed in buffer cache (bufhwm)
   30000        maximum number of processes (v.v_proc)
      99        maximum global priority in sys class (MAXCLSYSPRI)
   29995        maximum processes per user id (v.v_maxup)
      30        auto update time limit in seconds (NAUTOUP)
      25        page stealing low water mark (GPGSLO)
       1        fsflush run rate (FSFLUSHR)
      25        minimum resident memory for avoiding deadlock (MINARMEM)
      25        minimum swapable memory for avoiding deadlock (MINASMEM)


Thanks again!
-John Christian


###########################################################
ORIGINAL POST BELOW


hi Gurus,

Our Oracle DBA says he is limited to only having 128 processes. As part of
performance testing, he would like this value increased to 512. The /etc/system
file has an entry for "set maxuprc = 128". maxusers has not been set.

What's the best way to adjust the max number of processes per user? Should I
increase maxuprc directly, or should I adjust maxusers and see how the change
trickles down? Other?

On Solaris 9, how do I view the maximum process limits in effect for a given
user? Before I make any changes, I want to verify the before/after behavior. 

And finally, how do I view the current value of max_nprocs to make sure I don't
tune the max processes for one user (maxuprc) beyond the max processes of the
entire system (max_nprocs)?

System is a V440, 4xCPUs, 16-GB RAM, Solaris 9
Thank you! I will summarize.
-John





	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Oct 21 15:14:23 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:52 EST