Re: [users@httpd] ThreadsPerChild Limit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/24/06, Qingshan Xie <xieq_49@xxxxxxxxx> wrote:
Hi! All,

   We have an Apache-2.0.54 instance running on a SUN
box  of Solaris 8, it runs as worker MPM.  I tried to
increase its ThreadsPerChild for our env requirement.
Seems it's OK to push the limit to 350 ThreadsPerChild
but failed it's higher than 400.  The processes died
automatically and the error_log had the following
errors,

[Thu Aug 24 12:27:16 2006] [notice] Apache configured
-- resuming normal operations
[Thu Aug 24 12:27:16 2006] [alert] (11)Resource
temporarily unavailable: apr_thread_create: unable to
create worker thread
[Thu Aug 24 12:27:26 2006] [alert] Child 10446
returned a Fatal error... Apache is exiting!

Can someone tell me where this hard limit is set in
source code, and can I change it, or if there is a way
to push the ThreadsPerChild limit higher?

This means the pthread_create call is failing on your system.  This
could be because you are exceeding PTHREAD_THREADS_MAX.  But I don't
remember enough Solaris 8 stuff to know.  The important thing is that
there isn't really anything that can be done in apache about this,
other than lowering ThreasPerChild.  There may be an operating system
config that can help.

Joshua.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux