Operating System - Tru64 Unix
1753401 Members
7247 Online
108792 Solutions
New Discussion юеВ

Re: max_proc_per_user

 
SEZAYI
New Member

max_proc_per_user

I have max-proc-per-user set to default 64.... I want to change this to 512
a created sys_tuning.stanza file
added line to sys_tuning.stanza file
proc:
max_proc_pert_user=512
max_threads_per_user=4096

run command
/sbin/sysconfigdb -a -f sys_tuning.stanza
with sysconfigdb -l
i can see lines max_proc_pert_user=512
max_threads_per_user=4096 in sysconfigdb
but
when i was restart system i see message in command line
"attribute max_proc_per_user not in subsystem"
and
"attribute max_thereads_per_user not in subsystem"

what can i do , hepl me please.
thanks.
4 REPLIES 4
Hein van den Heuvel
Honored Contributor

Re: max_proc_per_user

Looks like you need to add ' proc' to the end of the 'sysconfig -a' command according to the man page.
[I don't know for sure, becase I just edit sysconfigtab directly myself]

This is assuming that the 't' in 'max_proc_pert_user' is a typo while entering this topic as well as the 'thereads'.

If you still have problems, then maybe you want the attach an EXACT copy of the santza-formatted file to a next reply. Just including the text may not be good enough as the forum software mangles whitespace.


Hein.

Kevin Webb_4
Occasional Advisor

Re: max_proc_per_user

If you are getting Attribute ..... not in subsystem you have most likely mis-spelt it.

Here is an extract from my stanza file

proc:
max_proc_per_user = 2048
max_threads_per_user = 4096

Make sure the syntax is exactly correct....
then....

sysconfigdb -m -f "name of stanza file" proc

and it will work

-m is safer than -a as if an entry already exists it will superceed it where -a will not

Kevin
SEZAYI
New Member

Re: max_proc_per_user

Thankyou for your answer. My Stanza formatted file attach .
Michael Schulte zur Sur
Honored Contributor

Re: max_proc_per_user

Hein is right,

max_proc_pert_user

has a t too much.

Michael