[SGVLUG] POSIX Thread Limitation (increase?)

Sean O'Donnell sean at seanodonnell.com
Fri Dec 14 15:24:39 PST 2007


Many thanks Dan... Lots of great info on your site! =)

Dan Kegel wrote:
> On Dec 14, 2007 11:55 AM, Sean O'Donnell <sean at seanodonnell.com> wrote:
>   
>> I'm currently doing some performance testing of a multi-threaded
>> application that seems to be reaching it's limit of (approx. 300) threads.
>>
>> I was curious if there is a way to increase the posix thread-limit
>> without having to recompile the kernel or patch any libraries (such as
>> glibc, which I've read is one way to do it).
>>
>> Can this be achieved with the 'ulimit' command? or is there a variable
>> in a configuration file somewhere that I can simply modify?
>>     
>
> http://kegel.com/c10k.html#limits.threads says there isn't
> any low limit on threads, it's more likely your app is
> using really big thread stacks and thus is running out
> of address space.   What symptom are you running into?
> - Dan
>
>
>   



More information about the SGVLUG mailing list