httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blanco <>
Subject Re: [users@httpd] RESTARTING APACHE
Date Fri, 04 May 2007 10:57:30 GMT

Bashiro escribió:

> I want to restart Apache for the same reason why people want to restart any other program.
> For freeing memory ? for dumping memory ? for dumping log file?
> for releasing overload, for stability (in order to release hanging files) etc

You don't need to restart Apache for freeing memory. You must tune in
parameters in the config file: MaxRequestsPerChild, KeepAlive,
KeepAliveMaxRequests, Min/MaxSpareServers, and the like. This way you
can get Apache recycle its own childs freeing their memory (and
avoiding swap ;).

You can also think about the modules you need (php, perl , etc) and
the fact that for serving an image you don't need a process with
mod_php or mod_perl loaded in it. If this is the case you should try
lighttpd + mod_proxy + apache.

Hope this helps... :)


David Blanco

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