The code I am trying to compile was picked up from
http://people.redhat.com/alikins/tuning_utils/thread-limit.c  Under a RedHat
7.2 system with a recompiled Glibc/Linuxthreads I was able to push this code
to @1000 threads.

I can see what you are saying about the stack.  Do you know of a reference
where I can learn more about that, and how to set it?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Arjan van de Ven
Sent: Wednesday, March 12, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: NPTL on Pheobe


On Wed, 2003-03-12 at 16:30, Aaron Kenny wrote:
> I have been trying to do some development with NTPL on Pheobe.  I have
been
> unable to figure out how to get my programs to compile with NPTL or run
with
> NPTL.  It seems they are still running under linuxthreads as I am seeing a
> 255 thread limit.

the 255 limit does not come from the thread library, but from your code
not setting a smaller stack than the default 8Mb. There simply is not
enough virtual memory space for more than 255 8Mb stacks...



-- 
Phoebe-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/phoebe-list

Reply via email to