
gozer at ectoplasm
Jan 4, 2005, 10:59 AM
Post #6 of 6
(1059 views)
Permalink
|
|
Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
[In reply to]
|
|
Jean-François Nadeau wrote: > Thanks for the quick reply. > > I cleaned up my installation and reinstalled. > See attached bug report and BuildConfig.pm. > > Configured with: > perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache-2.0.52/ > make && make install > > The leak persist after reinstall. Could you also try applying this small debugging patch and try again? Posting the "[clear_stash]" log lines from your error_log back ? Index: src/modules/perl/modperl_util.c =================================================================== --- src/modules/perl/modperl_util.c (revision 124130) +++ src/modules/perl/modperl_util.c (working copy) @@ -781,7 +781,13 @@ if (strcmp(this_stash, package) == 0) { hv_delete(stash, key, len, G_DISCARD); } + else { + fprintf(stderr, "[clear_stash] skip foreign entry %s[%s](%s)\n", package, this_stash, key); + } } + else { + fprintf(stderr, "[clear_stash] skip unsafe entry %s(%s)\n", package, key); + } } } } -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
|