httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitesh Naik" <nit...@zedo.com>
Subject Apache 2.0 performance with and without SSI
Date Fri, 15 Apr 2005 07:55:20 GMT

Hi,

I am Using apache-2.0.53.

Without SSI ( mod_include.c ) Aapache  serves approximately 6500 req/sec and
with SSI apache processes approximately 2500 req/sec.

Is there any way I can increase the apache performance ?
anything that I need to take care during apache compilation on AMD 64 Bit
machines ?


server-status shows lots of idle workers  and lots of waiting connections.

tried using prefork and worker threads modules but no much improvement.

OS - Suse 9.2 ( AMD 64 bit processor)
gcc compile options
export
CFLAGS="-march=x86-64 -m64 -O3 -fexpensive-optimizations -fomit-frame-pointe
r"

conf file setting for prefork and worker.

<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients         150
MaxRequestsPerChild  0
</IfModule>

<IfModule worker.c>
StartServers        2
MaxClients        150
MinSpareThreads    25
MaxSpareThreads    75
ThreadsPerChild    25
MaxRequestsPerChild  0
</IfModule>


server status output

Current Time: Thursday, 14-Apr-2005 23:57:53 PDT
Restart Time: Thursday, 14-Apr-2005 23:56:03 PDT
Parent Server Generation: 0
Server uptime: 1 minute 50 seconds
Total accesses: 504621 - Total Traffic: 1.1 GB
CPU Usage: u47.99 s69.85 cu0 cs0 - 107% CPU load
4590 requests/sec - 10.3 MB/second - 2350 B/request
3 requests currently being processed, 9 idle workers


Regards
Nitesh Naik


Mime
View raw message