Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache crashed - ThreadsPerChild |
|
Author |
|
jochen35
Joined: 27 Mar 2013 Posts: 1
|
Posted: Wed 27 Mar '13 9:15 Post subject: Apache crashed - ThreadsPerChild |
|
|
Hello,
I'm running Apache 2.4.4 on Windows Server 2008 R2. It's already happened many times that Apache stopped responding to requests. The last entry in the error.log:
[Wed Mar 27 06:22:07.043600 2013] [mpm_winnt:notice] [pid 1736:tid 256] AH00354: Child: Starting 64 worker threads.
[Wed Mar 27 06:52:34.521200 2013] [mpm_winnt:error] [pid 1736:tid 1656] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
In access.log I did not notice anything unusual, and even the Windows Event Viewer gives her nothing.
MPM is not configured yet.
greeting
Jochen |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 28 Mar '13 10:57 Post subject: |
|
|
That message mean that you have to use a higher number for ThreadsPerChild (simultanious connections) So there are more than 64 connection at the same time and your apache has no free threads to handle it.
you can try
Code: |
<IfModule mpm_winnt_module>
ThreadsPerChild 150
MaxRequestsPerChild 0
</IfModule>
|
increase the value of ThreadsPerChild until you get rid of that error. |
|
Back to top |
|
|
|
|
|
|