>Number: 3301
>Category: general
>Synopsis: Severe performance problems under heavy load - not noticed in
>apache-1.3.1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Oct 27 10:30:00 PST 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.3
>Environment:
[EMAIL PROTECTED] 59: uname -a
IRIX d8544-cs 5.3 11091810 IP7 mips
patch level 2068 kernel roll-up patch
gcc-2.8.1
Apache built with....
[EMAIL PROTECTED] 72: more configure-proxy
setenv CFLAGS "-DIRIX5"
./configure \
--prefix=/usr/local/apache-proxy\
--bindir=/usr/local/apache-proxy/bin\
--sbindir=/usr/local/apache-proxy/sbin\
--libexecdir=/usr/local/apache-proxy/libexec\
--mandir=/usr/local/man\
--sysconfdir=/etc/apache-proxy\
--datadir=/usr/local/apache-proxy/share\
--includedir=/usr/local/apache-proxy/include\
--localstatedir=/usr/local/apache-proxy/var\
--runtimedir=/usr/local/apache-proxy/var/run\
--logfiledir=/usr2/adm/apache-proxy\
--proxycachedir=/scratch/internet/cache\
--enable-rule=SOCKS4\
--enable-module=proxy\
--disable-module=actions\
--disable-module=alias\
--disable-module=asis\
--disable-module=auth\
--disable-module=autoindex\
--disable-module=cgi\
--disable-module=dir\
--disable-module=env\
--disable-module=imap\
--disable-module=include\
--disable-module=setenvif\
--disable-module=userdir
[EMAIL PROTECTED] 73:
>Description:
Using apache as a proxy server for internal network. Server supports around
1600
individual client users running netscape and interne explorer browsers.
Upgraded from Apache 1.3.1 to Apache 1.3.3. User community immedicately noticed
much slower accesses from the internet. Downgraded back to Apache 1.3.1 and
service
was restored to original service levels.
Apache appeared to accept incomming connections much slower than the previous
version.
Noted CPU loading was reduced by new version. With apache 1.3.1, uptime
provides
statistics as follows during peak periods
1:17pm up 7 days, 18:26, 2 users, load average: 32.53, 23.10, 23.43
with the 1.3.3 version, these load averages were reduced to 3.xx from the
levels
of the above numbers.
System load was also reduced from approximately 75% (spiked activity) to about
50% steady activity with intermittent spikes.
>How-To-Repeat:
Would believe this would happen for any heavily loaded site. Do not believe
this is limited to proxy configurations.
>Fix:
The newer version of apache appears to have modified significantly how it
decides
who (which of the spawned children) listen to the incomming port. I suspect
this
algorithm is not happening fast enough for heavlily loaded environments. Once
the
child has connected, it processes the request quickly.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[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! ]