You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dan Poirier <po...@pobox.com> on 2010/06/21 03:31:52 UTC
[users@httpd] Re: [alert] (11)Resource temporarily unavailable: apr_thread_create:
unable to create worker thread
On 2010-06-20 at 14:08, Nilesh Govindarajan <li...@itech7.com> wrote:
> A newly configured apache installation keeps emitting this error.
> It was compiled from scratch with worker MPM.
> The settings for worker MPM is below:
> StartServers 5
> MaxClients 250
> MinSpareThreads 5
> MaxSpareThreads 10
> ThreadsPerChild 50
> MaxRequestsPerChild 0
>
> It is an OpenVZ VPS with kernel 2.6.18-164.15.1.el5.028stab068.9 and
> RAM 512 MB.
Try using ThreadStackSize to reduce the stack size per thread?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: [alert] (11)Resource temporarily unavailable:
apr_thread_create: unable to create worker thread
Posted by Eric Covener <co...@gmail.com>.
> It was an issue with threads per child configuration and start servers.
> The worker MPM takes at most 3 children and 56 threads per child. Quite low,
> I've asked for support, lets see what happens.
Each of those threads can allocate 8-10 megabytes of stack space on
linux if ulimit -s is unlimited.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: [alert] (11)Resource temporarily unavailable:
apr_thread_create: unable to create worker thread
Posted by Nilesh Govindarajan <li...@itech7.com>.
On 06/21/2010 07:01 AM, Dan Poirier wrote:
> On 2010-06-20 at 14:08, Nilesh Govindarajan<li...@itech7.com> wrote:
>
>> A newly configured apache installation keeps emitting this error.
>> It was compiled from scratch with worker MPM.
>> The settings for worker MPM is below:
>> StartServers 5
>> MaxClients 250
>> MinSpareThreads 5
>> MaxSpareThreads 10
>> ThreadsPerChild 50
>> MaxRequestsPerChild 0
>>
>> It is an OpenVZ VPS with kernel 2.6.18-164.15.1.el5.028stab068.9 and
>> RAM 512 MB.
>
> Try using ThreadStackSize to reduce the stack size per thread?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See<URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
It was an issue with threads per child configuration and start servers.
The worker MPM takes at most 3 children and 56 threads per child. Quite
low, I've asked for support, lets see what happens.
--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org