Running out of processes

From: Renato Huliganga <renato_at_bhl.com.au>
Date: Tue, 16 Dec 1997 15:22:28 +1100

Our machine:
   Digital UNIX V4.0B (Rev. 564)
   AlphaServer 800
   CPU = 5/400 (1)
   RAM = 576 MB

Merry X-mas gurus.
I need your help again.
Last week we started get getting these messages:

Dec 10 08:30:01 host1 vmunix: task_create() failed for pid 10576: maxuprc (=64) exceeded for uid 212.

I figured we are running out of processes, our DBA thinks 1024 should be enough. So off I go - I must configure "proc" the Process subsystem. I created a file called "proc.stanza" with the contents:
# proc - Process subsystem
proc:
        max-proc-per-user = 1024

And did the following:
-----------------------STEP 1:
# sysconfigdb -a -f proc.stanza proc

-----------------------STEP 2: (Test the database for changes)
# sysconfigdb -l proc

proc:
        max-proc-per-user = 1024

-----------------------STEP 3:
Rebooted the machine.
Re-started the the machine.

I checked the new configuration. A snippet of the output is here:
-----------------------
# sysconfig -q proc
proc:

max-proc-per-user = 267
max-threads-per-user = 267
per-proc-stack-size = 2097152
max-per-proc-stack-size = 33554432
per-proc-data-size = 134217728
max-per-proc-data-size = 1073741824
max-per-proc-address-space = 1073741824
per-proc-address-space = 1073741824
.
.
.

Now the question:
Why is it that I am being limited to only '267' processes? What other attributes affect/limit the 'max-proc-per-user' attribute? Or maybe how are the attribute values affect each other.

Thanks
RJH
Received on Tue Dec 16 1997 - 05:17:09 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT