> >>Issueing an "apachectl restart" (or kill -HUP) make the apache parent > >>process size grow ! > >This was a well-known issue with mod_perl 1.x built using DSO. I never > >use graceful restart because of this. I thought 2.x got rid of this > >issue though. You could try making a static build and see if that fixes > >it. > I was thinking of this one > add a perl bug workaround: with USE_ITHREADS perl leaks pthread_key_t > on every reload of libperl.{a,so} (it's allocated on the very first > perl_alloc() and never freed). This becomes a problem on apache > restart: if the OS limit is 1024, 1024 restarts later things will > start crashing [Gisle Aas <[EMAIL PROTECTED]>, Stas]
Interesting... I just chatted with Brian Somers (resident freeBSD guru) and he told me that he was getting the same problem under a normal perl, but when he recompiled his perl to use FreeBSD's malloc (rather than perl's own), the problem went away; he could restart apache 100,000 times with no memory leak. - Tyler