Sponsored Content
Full Discussion: find no of threads
Operating Systems AIX find no of threads Post 40110 by siva_jm on Tuesday 9th of September 2003 11:38:58 AM
Old 09-09-2003
find no of threads

How do i find out how many threads will the server support at any given point of time simultaneously ?

In other words, how can i find out how many threads i can span in programming at given point of time.

Its understood even though many threads are created upon the limits after some thread is released another one can use this, but is there any way i can get a number on how much will a server support at given point of time simultaneously

Thanks much !!
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

old threads

Neo, if I have an old thread that is a few months old, and a few pages back in the forum it was posted in, is it ok to 'bump' it back to the front? or, would you rather i deleted the old thread, and just create a new one? btw the thread has no replies. (2 Replies)
Discussion started by: norsk hedensk
2 Replies

2. UNIX for Dummies Questions & Answers

threads

i am tring to sort lots of data thats in many columns by just one column but, if I use sort +16 inputfile the column fluctuates because some of the rows have spaces etc within the text, so the end result is just a mess as it jumps around the columns depending whether it has spaces or not ....ie... (2 Replies)
Discussion started by: Gerry405
2 Replies

3. Solaris

threads

Hi all! 1)Is there a way to write a program that will work on both solaris and intel based machines. 2)How can I achive this for a program that creates and synchronizes three threads. Thank you. vij. (3 Replies)
Discussion started by: vijlak
3 Replies

4. UNIX for Advanced & Expert Users

How many threads do I use ?

Hi, I have a program that has two types of threads: 1) Reader threads 2) Worker Threads Readers: Their only job is to read files. They just read data from the files and put them into a buffer. They are obviously I/O intensive. Workers: These are CPU intensive. They do some computation... (5 Replies)
Discussion started by: the_learner
5 Replies

5. UNIX for Advanced & Expert Users

Threads and Threads Count ?

Hi all, How can I get the list of all Threads and the Total count of threads under a particular process ? Do suggest !! Awaiting for the replies !! Thanks Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies

6. UNIX for Dummies Questions & Answers

Command to find number of threads

Shell script to find number of threads for relay http (0 Replies)
Discussion started by: rajeev3062002
0 Replies

7. Programming

threads and signals

can any one give me an example of a concurrency program in threads and signals, i.e how to deliver messages between threads using signals. thanks (2 Replies)
Discussion started by: moe_7
2 Replies

8. Programming

Threads help

Hello! I started studying studying about POSIX Threads a few days ago... so I am a little confused and I would appreciate some help! I isolated this code... and I wonder if I could use threads in it! #include <unistd.h> #endif #include <math.h> //#include "main.h" #include <sys/time.h>... (1 Reply)
Discussion started by: smurf2
1 Replies

9. What is on Your Mind?

Similar Threads: More UNIX and Linux Forum Topics You Might Find Helpful Update

Today I change the DB and the PHP code and rebuilt the database for similar threads at the end of each post, increasing from a max of 5 to a max of 10 similar threads per post: More UNIX and Linux Forum Topics You Might Find Helpful It was quite easy to do: 1. Increased the max size of... (17 Replies)
Discussion started by: Neo
17 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 08:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy