httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MegaBrutal <megabru...@gmail.com>
Subject Re: [users@httpd] Apache 2.2.15 memory usage
Date Fri, 20 Aug 2010 10:22:59 GMT
Hello,

Read this document:
http://httpd.apache.org/docs/2.2/misc/perf-tuning.html

My guess is that child processes consume extra memory, as the server
creates them when there are many clients connected simultenously. Note
that it's a perfomance optimization: child processes will be there
ready to handle clients when they arrive as soon as possible. Though
you could control how many child processes may hang around idle with
the MaxSpareServers directive:
http://httpd.apache.org/docs/2.2/mod/prefork.html#maxspareservers

Note that if you really restrict that, the server may lose performance
(ie. get slower), because then it needs to create the necessary child
processes when clients connect.

It's also possible that Apache caches some files those requested
pretty often, but AFAIK this feature is not on by default so you must
have manually configured it, so most likely you would know about it
then.

Regards,
MegaBrutal


2010/8/20 Pravesh Rai <pravesh.rai@gmail.com>:
> Hi All,
>
> Found that, on Windows x86 & x64 setup, memory consumption (by
> httpd.exe) gets increased with time, under stress conditions. Is there way,
> through configuration settings, to control this resource usage ?
>
> Thanks,
> PR

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message