Bug 817928

Summary: Apache with high MaxClient values hang with 308 kernel release
Product: Red Hat Enterprise Linux 5 Reporter: Jamie Duncan <jduncan>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.8CC: prc
Target Milestone: rc   
Target Release: 5.8   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-01 21:01:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jamie Duncan 2012-05-01 20:16:43 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
patch -p0 << EOF
--- /etc/httpd/conf/httpd.conf 2012-04-12 12:34:41.000000000 -0700
+++ /etc/httpd/conf/httpd.conf.new 2012-04-12 12:35:21.000000000 -0700
@@ -98,11 +98,11 @@
 # MaxClients: maximum number of server processes allowed to start
 # MaxRequestsPerChild: maximum number of requests a server process serves
 <IfModule prefork.c>
-StartServers 8
+StartServers 1001
 MinSpareServers 5
 MaxSpareServers 20
-ServerLimit 256
-MaxClients 256
+ServerLimit 1001
+MaxClients 1001
 MaxRequestsPerChild 4000
 </IfModule>
EOF
service httpd start
ab -n 2000 -c 1 http://127.0.0.1/icons/blank.gif [^]

  
Actual results:
Apache hangs, essentially going catatonic.

Expected results:
Apache would serve content normally


Additional info:
http://bugs.centos.org/view.php?id=5634

Comment 1 Jamie Duncan 2012-05-01 21:01:26 UTC

*** This bug has been marked as a duplicate of bug 804778 ***