Operating System - Tru64 Unix
1752568 Members
5416 Online
108788 Solutions
New Discussion юеВ

Re: max_proc_per_user limit?

 
SOLVED
Go to solution
ericfjchen
Regular Advisor

max_proc_per_user limit?

This is HP DS20E with CPU X 2 and 4G RAM. Originally, max_proc_per_user is 2048. We would like to modify it to 4096. Is it OK? Can I know what max value it can be set?

Thanks

Eric
4 REPLIES 4
Venkatesh BL
Honored Contributor
Solution

Re: max_proc_per_user limit?

Check out the man page of sys_attrs_proc. It tells you the MAX value for each attribute.
Han Pilmeyer
Esteemed Contributor

Re: max_proc_per_user limit?

You can also set the parameter to zero which disables the check. That also increases performance, but you can only measure the performance increase when you have many thousands of processes.

Same for max_threads_per_user.
ericfjchen
Regular Advisor

Re: max_proc_per_user limit?

Thanks. Your information are very useful for me. However, there is still a question. If we set max_proc_per_user =2048 & max_threads_per_user = 2048. When the system showed

============
Nov 9 17:08:27 vmunix: task_create() failed for pid 208360: max_proc_per
_user (=2048) exceeded for uid 200.
============
By checking " ps -ef|grep username(uid=200)", it is about 400. Why does it exceed the limit? Can you explain it?

Thanks

Eric
Michael Schulte zur Sur
Honored Contributor

Re: max_proc_per_user limit?

Hi,

did you check at that moment?
You do not have by accident users with the same uid? What os version and what patch kit are you using?

greetings,

Michael