You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gary Stanley <ga...@outloud.org> on 2002/01/25 23:37:52 UTC

general/9597: Super high load, high swap usage with apache 1.3.22

>Number:         9597
>Category:       general
>Synopsis:       Super high load, high swap usage with apache 1.3.22
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jan 25 14:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     gary@outloud.org
>Release:        1.3.22
>Organization:
apache
>Environment:
FreeBSD rcp-2u.rcp.net 4.4-RELEASE FreeBSD 4.4-RELEASE #5: Thu Jan 24 11:58:39 GMT 2002     root@room6.adultbouncer.com:/usr/src/sys/compile/70  i386
>Description:
Apache 1.3.22, stripped down config with minimal modules. high volume traffic site with static content.

5:32PM  up  5:28, 1 user, load averages: 16.12, 18.64, 20.57

Load sometimes spikes to 100+ and box is frozen. 

bash-2.05$ ps aux|grep -c httpd
951

Apache is configured with 2048 maxclients. Machine has 2 PIII 1ghz procs,  2G's of memory and 4G's of swap. 
Here's apache config:

ServerType standalone
ServerRoot "/usr/local"
#LockFile /var/run/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /var/run/httpd.scoreboard
#ResourceConfig conf/srm.conf
#AccessConfig conf/access.conf
Timeout 300
KeepAlive On
MinSpareServers 32
MaxSpareServers 64
MaxRequestsPerChild 0
MaxClients 1400
MaxKeepAliveRequests 10000
ListenBacklog 1023

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]