Discussion:
Apache httpd server runtime configuration parameters
(too old to reply)
kalyan sita
2013-05-07 03:43:03 UTC
Permalink
Hi
I am working on apache httpd-2.2.22 server runtime parameter tuning to get better performance. I am a newbie .. Can anyone help me where to start.

Thanks,
kalyan
patpro ~ patrick proniewski
2013-05-07 05:10:06 UTC
Permalink
Post by kalyan sita
Hi
I am working on apache httpd-2.2.22 server runtime parameter tuning to get
better performance. I am a newbie .. Can anyone help me where to start.
General rule: RTFM :)

Before touching anything in Apache config, you must know exactly what
you are doing, and what you are trying to achieve.
Apache loads tons of modules, by default, and has a lot of features out
of the box. The more you deactivate modules and features, the more RAM
you spare, and the more performance you *might* gain (that is not always
true).
We cannot help you with that tuning, because it depends on your very own
needs.
For example, a good way to gain performances is to forbid the use of
.htaccess files, but if you need them absolutely, then you cant rely on
this hint to speed up your web server.

Some general hints: add RAM, use faster disks, unload unwanted apache
modules, compare mod_php and php-fcgi performances, use cache (in apache
ans in your web application)...

patpro
--
photo http://photo.patpro.net/
blog http://www.patpro.net/
kalyan sita
2013-05-07 11:57:50 UTC
Permalink
Thanks Patpro for the reply.

I changed MaxKeepAliveRequests from 100 to 10000
enabled mod_file_cache in httpd.conf

I got some performance boost.

I would like to know similar runtime parameters which are common to most of applications.

Also, I would like to know the group name or mailing list of apache source code developers .

Also when I used gcc -O3 instead of default -O2 I got significant boost. Compile time parameters also I want to know

Thanks,
Kalyan
patpro ~ patrick proniewski
2013-05-07 16:07:10 UTC
Permalink
Post by kalyan sita
Thanks Patpro for the reply.
I changed MaxKeepAliveRequests from 100 to 10000
enabled mod_file_cache in httpd.conf
I got some performance boost.
what performance boost? you gain some speed when you make a benchmark or
you actually see some client side improvement?
I really doubt that a single client will do 10000 request in a single
keepalive connection... The performance gain you see is probably
non-existant for real users.

patpro
--
photo http://photo.patpro.net/
blog http://www.patpro.net/
kalyan sita
2013-05-08 02:56:15 UTC
Permalink
Post by patpro ~ patrick proniewski
Post by kalyan sita
Thanks Patpro for the reply.
I changed MaxKeepAliveRequests from 100 to 10000
enabled mod_file_cache in httpd.conf
I got some performance boost.
what performance boost? you gain some speed when you make a benchmark or
you actually see some client side improvement?
I really doubt that a single client will do 10000 request in a single
keepalive connection... The performance gain you see is probably
non-existant for real users.
patpro
--
photo http://photo.patpro.net/
blog http://www.patpro.net/
Yes Patpro, this is just a simulation with the command
ab -a -p 8777 -c 10 -n 10000 http://localhost
I earnestly request your to give me the mailing list or mail ids of the apache source code community.
I am working on apache source code optimization on arm based processors . I am also working on compile and run time parameter tuning for apache..
I tried for google groups also . Please point me to right people

Thanks,
kalyan
patpro ~ patrick proniewski
2013-05-08 08:17:54 UTC
Permalink
Post by kalyan sita
Yes Patpro, this is just a simulation with the command
ab -a -p 8777 -c 10 -n 10000 http://localhost
I earnestly request your to give me the mailing list or mail ids of the
apache source code community.
I am working on apache source code optimization on arm based processors . I
am also working on compile and run time parameter tuning for apache..
I tried for google groups also . Please point me to right people
I'm not involved in development of httpd, I don't have any contact with
those guys, but I'm pretty sure you can find everything on the official
web site: http://httpd.apache.org
Check links in the "get involved" section of the left margin.

patpro
--
photo http://photo.patpro.net/
blog http://www.patpro.net/
Loading...