Hello,

I've had problems with <Perl> sections causing leaks with
graceful restart, at least with some versions/setups of mod_perl.
I thought the problem should be noted in the guide.

A patch is attached for:
http://perl.apache.org/docs/1.0/guide/troubleshooting.pod.orig

I no longer have my test code, it was a while ago.
Here's the link and mail exchange that confirmed my tests:

http://aspn.activestate.com/ASPN/Mail/Message/modperl/304620

> >> > I have a static Solaris compilation, and have the same problems
> >> > where the parent seems to grow by 1M each HUP.
> >> 
> >> that's strange, do you have PerlFreshRestart On or some <Perl> sections?
> >> otherwise, kill -HUP with a static modperl is a noop.
> > 
> >You got me!  I have <Perl>  sections ... but I didn't know
> >it was such a crime.  Pretty bizarre behavior if you ask me.
> 
> it's not a crime, but if you're running Perl code during restart there's a
> strong chance you'll be growing the server size.  i agree 1M is bizarre
> though.

Brad

-- 
... There is dignity in paucity of words. ... -- Hagakure
--- troubleshooting.pod.orig	2004-05-04 16:57:24.000000000 +1000
+++ troubleshooting.pod.new	2004-05-04 17:03:48.000000000 +1000
@@ -767,6 +767,10 @@
 See the I<HUP Signal> explanation at the section:
 L<Server Stopping and Restarting|general::control::control/Server_Stopping_and_Restarting>
 
+Also, be aware that <Perl> sections can also cause leaks during
+graceful restarts.  See the (sub)thread:
+http://aspn.activestate.com/ASPN/Mail/Message/modperl/304620
+
 =head1 OS Specific Notes
 
 =head2 RedHat Linux

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to