Thanks Matt, that was magic.  8154 threads as root!  I had played with
setstacksize after my last post and it still wasn't working.  I'll analyze
your code and see what I was doing wrong.

Thanks all who posted.

- Aaron

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt Wilson
Sent: Wednesday, March 12, 2003 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: NPTL on Pheobe


On Wed, Mar 12, 2003 at 11:37:19AM -0500, Aaron Kenny wrote:
> 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?

http://people.redhat.com/msw/thread-limit.c

see the pthread_attr_stacksize call?

running as root: 3937 threads

Cheers,

Matt
[EMAIL PROTECTED]
--
Matt Wilson
Manager, Base Operating Systems
Red Hat, Inc.



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



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

Reply via email to