Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache httpd server runtime configuration parameters

26 views
Skip to first unread message

kalyan sita

unread,
May 6, 2013, 11:43:03 PM5/6/13
to
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

unread,
May 7, 2013, 1:10:06 AM5/7/13
to
In article <2e936892-10fd-4924...@googlegroups.com>,
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

unread,
May 7, 2013, 7:57:50 AM5/7/13
to
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

unread,
May 7, 2013, 12:07:10 PM5/7/13
to
In article <f6fe29cf-07aa-4060...@googlegroups.com>,
kalyan sita <kalyan...@gmail.com> wrote:

> 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.

kalyan sita

unread,
May 7, 2013, 10:56:15 PM5/7/13
to
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

unread,
May 8, 2013, 4:17:54 AM5/8/13
to
In article <5d028c2e-56f7-4dcc...@googlegroups.com>,
kalyan sita <kalyan...@gmail.com> wrote:

> 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.
0 new messages