Operating System - HP-UX
1832106 Members
3067 Online
110038 Solutions
New Discussion

max_thread_proc kernel parmeter

 
chapaya_1
Frequent Advisor

max_thread_proc kernel parmeter

Hi All ,

I have 2 machine 11.0 & 11i , i don't see this parameter in kernel .
There is a need to configure this parameter ,
how do i do it and is it necessary ?

BYE
2 REPLIES 2
Ranjith_5
Honored Contributor

Re: max_thread_proc kernel parmeter

Hi Chapaya,

This parameter deals with the maximum number of threads allowed in each process, set to 200, unless told otherwise by your more knowledgeable software vendor. If you are running Java workloads or you're
configuring an NFS/TCP server (running nfsktcpd), bump this up to 1000.

Just add a line as follows in the /stand/build/system file.

Hope you are aware of the normal kernel rebuilding proedure.

use system_prep and mk_kernel and finally kmupdate.

Incase you have any doubt in the procedure in making a new kernel do reply back.

See the tunable parameters in /stand/system
You can find the max_thread_proc parameter here and change it accordingly as per use requirement.

* Tunable parameters

STRMSGSZ 65535
dbc_max_pct 20
dnlc_hash_locks 512
enable_idds 1
max_thread_proc 256
maxdsiz 1073741824
maxdsiz_64bit 2147483648
maxfiles 2048
maxfiles_lim 60000
maxssiz 134217728
maxssiz_64bit 1073741824
maxswapchunks 16384
maxtsiz 0X4000000
maxtsiz_64bit 0X40000000
maxuprc 4000
maxusers 512
maxvgs 80
msgmni 4096
msgseg 32767
msgtql 4096
nfile 63488
nflocks 4096
ninode 40000
nproc 20000
nstrpty 60
semmni 4098
semmns 20000
semmnu 4122
semume 64


HTH

regards,
Syam
bhavin asokan
Honored Contributor

Re: max_thread_proc kernel parmeter

hi,

which command you used to see this parameter.
sysdef willnot show this parameter.
use sam -under kernel configuration-configurable configurable parameters -this will be there.

select the parameter-go to actions menu-do modify configurable parameter.

keep the value as 2048 or 4096.

regds,