Solved

Maximum Threads Limit

Posted on 2002-07-02
3
274 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 73
Migrating an SQL 2008 database to Oracle 12c 3 88
bash script question (chmod) 10 53
su - oracle could not open session 6 47
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now