Sponsored Content
Full Discussion: nk thread kernel parameter
Operating Systems HP-UX nk thread kernel parameter Post 302249395 by DustBunny on Tuesday 21st of October 2008 09:02:14 AM
Old 10-21-2008
Quote:
Originally Posted by TC123
Hi.

I wanted to know, that if an issue is coming, where ,on running a load test, the memory of the APP server(unix) increases, but does not come down once the test is over, in that case, does tuning the nk thread paramter help in teleasing of the memory..???
plz answer soon
Well,

Tuning a kernel parameter is dependent on a lot of things. Actually, the nkthread parameter specifies the maximum number of threads that all processes combined can run at any given time. This is system wide approach. Actually, do we have the default parameter now in setup? It should be (nproc*2)+ 15 or 16 by default I guess.

Also, what is the exact issue you are facing now? Were there any updates done before you experience this issue? What is the OS relase and memory you have in setup?

We also need to make sure that this issue is not because of anything else before you modify the parameter. I'm not sure if the modification of this parameter would help here, however, more information in this regard would help anyone who's gonna address this issue in this forum!

-DB
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

kernel parameter

Hi all How to change the system parameter (kernel Parameter) in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048 i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. UNIX for Dummies Questions & Answers

kernel parameter

Hi all I am using HPUX 11.00 .its a HP9000 L class server with 1gb ram and dual processor 540Mhz. i want to know abt the two kernel parameter mentioned below 1)maxdsize 2)maxssize these two parameter has the default values and it has not been changed once. as some application on this... (1 Reply)
Discussion started by: Prafulla
1 Replies

3. UNIX for Dummies Questions & Answers

kernel parameter settings

Hello All, can someone clarify finally what are the kernel parameter settings for ORACLE9i on SOLARIS9 ? the following first part is copy paste from the sun's web... (2 Replies)
Discussion started by: grep
2 Replies

4. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

5. UNIX for Dummies Questions & Answers

kernel parameter in SOL

Hello everbody: I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found. Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies

6. HP-UX

Equivalent Kernel parameter in HP-UX

Hi, May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter. sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps". Thanks, Narasimha (1 Reply)
Discussion started by: vnarsim
1 Replies

7. UNIX for Dummies Questions & Answers

kernel parameter values

Hi All Need to find kernel parameter values of our UNIX box. /filesys1/tmp>uname -a HP-UX hps1_dc B.11.11 U 9000/800 1681349356 unlimited-user license /filesys1/CDBLprodrun/tmp> Can anyone help me with the cmd to find kernel parameter values? Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies

8. Solaris

How to change the Kernel parameter MAXDSIZE

Hi, How can I change the Kernel parameter MAXDSIZE??:confused::confused: Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies

9. Programming

Thread parameter in ANSI C makes a segmentation fault

The creation of thread. void Client_Constructor ( const char* IPAddr ) { pthread_t tid; pthread_attr_t rx; /* Create separate memory for client argument */ struct ThreadArgs *threadArgs; if ( ( threadArgs = ( struct ThreadArgs* ) malloc( sizeof( struct ThreadArgs )... (14 Replies)
Discussion started by: sehang
14 Replies

10. AIX

Maximum number of processes kernel parameter

Hi, Is there a maximum number of processes kernel parameter in AIX. Solaris has max_nprocs, HP-UX has nproc, I can only find max user process (maxuproc) for AIX. Thanks, Wilson. (3 Replies)
Discussion started by: wilsonee
3 Replies
nkthread(5)							File Formats Manual						       nkthread(5)

NAME
nkthread - limits the number of threads allowed to run simultaneously VALUES
Failsafe Default or Allowed values must be greater than must be greater than This may be set higher, but more will not be used. Recommended values Unless there are heavily threaded applications on the system, the default formula is adequate if is tuned correctly. DESCRIPTION
The tunable controls the absolute number of threads allowed on a system at any given time. Increasing it will allow more threads, and low- ering it will restrict the number of threads. It can be determined that is too low when the message is seen in the message buffer. The message can be read via or This message indicates that an application was unable to create a thread. Setting too low can cause application failures due to an inability to create new threads or fork new processes. It can be determined how many threads have been used simultaneously prior to the above message by calling and examining the This field indicates the "high water" mark of the number of threads that have been simultaneously used. Who Is Expected to Change This Tunable? Anyone expecting to run large numbers of threads. Restrictions on Changing None. This tunable is dynamic. When Should the Value of This Tunable Be Raised? This value should be increased, either directly or as a result of tuning on most systems that are running many threads or processes. What are the Side Effects of Raising the Value? None. When Should the Value of This Tunable Be Lowered? The value should be lowered only to limit the number of threads on the system, or when there is memory pressure and the value of is far above the expected usage. What are the Side Effects of Lowering the Value? Increased risk of application failure do to the inability to create new threads or fork new processes. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
max_thread_proc(5), nproc(5). Tunable Kernel Parameters nkthread(5)
All times are GMT -4. The time now is 05:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy