Re: Having problems starting ~10k worker threads in apache

"Mindaugas" <[email protected]> Wed, 19 Sep 2007 17:11:39 +0300
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
>> Our current implementation uses 3500 threads.  This not enough due to
>> increased growth.  We need a short term solution.  The maximum of 7k
>> seems to be my upper limit and may suffice.  I was hoping that there
>> were ways to increase it beyond that.
>
> You might try the hugemem kernel if you're on i386 platform.  As other
> discussions have shown, the standard i386 platform can be starved of
> LowMem on occassion.  I don't know if the Apache threads are using up
> all your LowMem or not, but if they are, hugemem might help you get to
> 10K threads.

  Also on RHEL3 each thread allocates "ulimit -s" amount of memory for 
stack. You can try to lower that number and try then.

  Mindaugas

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list