Solved

Maximum Threads Limit

Posted on 2002-07-02
3
276 Views
Last Modified: 2009-07-29
How many maximum number of threads can be created in Linux? i.e What is the Max Thread Limit in Linux?
0
Comment
Question by:nakya
3 Comments
 

Accepted Solution

by:
akhilesh_chadha earned 100 total points
ID: 7132193
hi nakya well u can just know how many threads u can create by writing a simple program

int main()
{
 int i=1 ;
 pid=fork()
for(;;)//infinite loop
 {
        if(pid<0)
        printf("maxmimum process are %d",i);
       
        if(pid==0)
         i++;
         else
       {
       wait(0);
       exit(0);
       }
  }  
} //main ends here  
0
 

Expert Comment

by:CleanupPing
ID: 9088979
nakya:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 2

Expert Comment

by:TheWeakestLink
ID: 9484823
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept comments from akhilesh_chadha as answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux(debian) mouse poor performance 4 65
linux 13 76
Using Linux to replace Windows Server 2008 R2 for network drives 5 107
HOw To Install Docker on VMware Workstation 19 175
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question