Solaris kernel tunables

For a comprehensive list of Solaris kernel tunables, read the Solaris Tunable Parameters Reference Manual for your version of the Solaris Operating Environment at http://docs.sun.com/.

Example, querying current maxuprc kernel parameter with adb:

# adb -k
physmem f74c
maxuprc/D (display maxuprc value in decimal)
maxuprc:
maxuprc:        250
maxuprc/X (display maxuprc value in hexadecimal)
maxuprc:
maxuprc:        fa
^D (exit out of adb)

Running sysdef also shows the values of certain kernel tunables.


Example, dynamically adjusting maxuprc with adb:

maxuprc is a kernel tunable that defines the maximum number of concurrent processes per user ID. This value does not affect the root user.

The default maxuprc value is max_nprocs - reserved_procs.

# adb -kw
physmem f74c
maxuprc/D (display maxuprc value in decimal)
v+0x1c/W0x12c (set maxuprc to 300; 0x12c is hexademical for 300)
^D (exit out of adb)

# sysdef | grep v_maxup
     300        maximum processes per user id (v.v_maxup)

To preserve this change after a reboot, add set maxuprc=300 in /etc/system.

More information:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=casper.905937173%40nl-usenet.sun.com

Back to brandonhutchinson.com.
Last modified: 08/19/2003