httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MegaBrutal <>
Subject Re: [users@httpd] Apache 2.2.15 memory usage
Date Fri, 20 Aug 2010 10:42:28 GMT
Sorry, I was wrong. MaxSpareServers is only available in the prefork
MPM module. Windows binaries on the other hand are compiled with

Look up MaxMemFree, MaxRequestsPerChild, ThreadLimit, ThreadsPerChild
directives. All of these are available in mpm_winnt and allow you to
fine tune Apache's memory consumption.

Thanks for your question, though. At least, today I've learnt some new
stuffs about Apache. :D


2010/8/20 MegaBrutal <>:
> Hello,
> Read this document:
> 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:
> 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 <>:
>> 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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message