httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Memory usage in Apache
Date Fri, 11 May 2007 15:55:54 GMT
On 5/11/07, Arnab Ganguly <aganguly01@gmail.com> wrote:
> Hi,
> What my observation is, intialy the memory consumption is increased but
> after sometime it remains same.Also the memory consumption by the active
> daemon doesn't comes down even there is no processing of request.All the
> above things happen only when I keep the MaxRequestperchild to 0.

As I said, that is all perfectly normal. In general it is not possible
to return memory to the OS once it has been allocated, so apache
should eventually plateau at the maximum memory needed to serve
requests. Of course, any of this memory that is not actively needed
will go to swap on a modern OS.

> My next question is I hve kept the ServerLimit and StartServers as 1 but
> once the Apache runs for say around 20hrs with good traffic, it still
> launches one more  daemon process...Why this behavior is happening I am not
> sure.
> The modules that I have loaded are the cgi module, server-status module and
> mod_authz_host module.Does this have any impact one the above behaviors?

It is normal to have at least one parent process, one child process,
and one CGI daemon process on a threaded server.

Joshua.

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