RE: Per Process Thread Limit

"Howell, David P" <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
This is limited by the virtual memory space. I've spawned 27K threads with 
'test_str02 -l' on my Linux box with 1G memory and 128M swap. 

The tunables to lower the thread stack size can extend this, default is 64K;
if you can safely lower it for your threads it gives more space, I've used 
16K before for a high thread count process that needed more threads. Use the
'export DEFAULTTHREADSTACKSIZE=16' for 16K default thread stacks, or use the
pthread_attr_stacksize() attribute for the threads.

Dave Howell

-----Original Message-----
From: Aron Rubin [mailto:[email protected]]
Sent: Monday, June 17, 2002 3:06 PM
To: [email protected];
[email protected]
Subject: [pthreads-devel] Per Process Thread Limit


Does NGPT allow for a higher per process thread limit. Right now it 
seems the highest number of threads possible per process is 1024.

Aron

_______________________________________________
pthreads-devel mailing list
[email protected]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.