Re: What causes memory leaks during graceful restarts?

2002-06-13 Thread Vivek Khera
DM == Doug MacEachern [EMAIL PROTECTED] writes: DM what version of perl? what modperl Makefile.PL options? DM if you're using modperl as a dso, you'll need at least perl 5.6.1 and DM modperl-1.26 to prevent this leakage on restarts. Even with these versions, I get massive leakage on restart

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Dan Wilga
At 6:56 PM -0700 5/21/02, Doug MacEachern wrote: On Tue, 21 May 2002, Dan Wilga wrote: I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's compiled with: with 1.25, you can also set the PERL_DESTRUCT_LEVEL environment variable to 2, either before starting the server: export

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Dan Wilga wrote: Interesting. When I do that, I get the same problem I did when I tried to run with 1.25_01 and 1.26: Apache core dumps. I think I'll have to try compiling it again with the latest version of mod_perl, and perhaps not as a DSO. possible that your are

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Dan Wilga
At 8:41 AM -0700 5/22/02, Doug MacEachern wrote: On Wed, 22 May 2002, Dan Wilga wrote: Interesting. When I do that, I get the same problem I did when I tried to run with 1.25_01 and 1.26: Apache core dumps. I think I'll have to try compiling it again with the latest version of mod_perl,

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Dan Wilga wrote: Oh ho! That's it. Now when I gracefully restart, the memory loss is only about 29 Kb -- a very reasonable number. much better. with the modperl test suite, i only see a wee bit of leakage on the first restart, then no leakage on restarts after that.

What causes memory leaks during graceful restarts?

2002-05-21 Thread Dan Wilga
All this talk about memory leakage has got me to wondering more about a problem I've noticed with mod_perl ever since I started using it: the more times you gracefully restart, the more memory you lose. This doesn't seem to be a result of the type of leakage that's being discussed in the

Re: What causes memory leaks during graceful restarts?

2002-05-21 Thread Doug MacEachern
what version of perl? what modperl Makefile.PL options? if you're using modperl as a dso, you'll need at least perl 5.6.1 and modperl-1.26 to prevent this leakage on restarts.

Re: What causes memory leaks during graceful restarts?

2002-05-21 Thread Dan Wilga
At 10:34 AM -0700 5/21/02, Doug MacEachern wrote: what version of perl? what modperl Makefile.PL options? if you're using modperl as a dso, you'll need at least perl 5.6.1 and modperl-1.26 to prevent this leakage on restarts. I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's

Re: What causes memory leaks during graceful restarts?

2002-05-21 Thread Drew Taylor
At 02:15 PM 5/21/02 -0400, Dan Wilga wrote: I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's compiled with: USE_APACI=1 SSL_BASE=/usr/local/ssl DO_HTTPD=1 So I guess the solution is to go to 1.26 or newer; I'll try that later in the week. Or to just compile mod_perl

Re: What causes memory leaks during graceful restarts?

2002-05-21 Thread Doug MacEachern
On Tue, 21 May 2002, Dan Wilga wrote: I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's compiled with: with 1.25, you can also set the PERL_DESTRUCT_LEVEL environment variable to 2, either before starting the server: export PERL_DESTRUCT_LEVEL=2 apachectl start or using