Re: mod_perl2 memory growth after restart of Apache

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be3zF4qvxjrsHxHKUKzCwTKEkwNFdP9ErSw34aDvWF=njA@mail.gmail.com>
On Fri, Jul 15, 2011 at 4:54 PM, ChristoDeluxe <[email protected]> wrote:
> Looking in the archives, I see people (mostly back a few years) saying that
> people should not use "apachectl restart" or "apachectl graceful" (or
> sending the HUP signal) to restart Apache since it leaks memory.

That was the case in the past.  Maybe someone else has found a way
around it.  I haven't.  One thing you could try is using graceful
shutdown, followed by start.  This actually shuts down, but doesn't
cut off any existing requests.  Another common approach is to have a
load balancer that allows you to take half of your cluster offline and
restart, and then do the other half.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.