Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

[prev] [thread] [next] [Date index for 2004/12/21]

From: Stas Bekman
Subject: Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
Date: 22:01 on 21 Dec 2004
> Configured with:
> perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache-2.0.52/ 
> make && make install 

OK. Why do you use MP_AP_PREFIX and not MP_APXS? The docs suggest to use 
the latter:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Installation
http://perl.apache.org/docs/2.0/user/install/install.html#Dynamic_mod_perl

I guess you're reading this?

----------------------
If however all Apache 2.0 files were installed under the same directory, 
mod_perl 2.0's build only needs to know the path to that directory, passed 
via the MP_AP_PREFIX option:

   % perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=$HOME/httpd/prefork
-----------------------

right?

/usr/local/apache-2.0.52/ is the Apache source, correct? Not the binaries.


> The leak persist after reinstall.  
> 
> I do not have a sample script at the moment...

I have an idea of what could be the cause of the leak:

=item 1.99_17 - October 22, 2004
[...]
Added ModPerl::Util::unload_package() to remove a loaded package
as thoroughly as possible by clearing it's stash. [Gozer]

but I could be wrong. Please post a sample script that we can reproduce 
the problem with and we will look at it. Ideally it should be a bug
reporting tarball, based on bug-reporting-skeleton-mp2.tar.gz from:
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description



        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
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

PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
=?iso-8859-1?Q?Jean-Fran=E7ois_Nadeau?= 13:14 on 21 Dec 2004

RE: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
=?iso-8859-1?Q?Jean-Fran=E7ois_Nadeau?= 14:55 on 21 Dec 2004

RE: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
=?iso-8859-1?Q?Jean-Fran=E7ois_Nadeau?= 19:57 on 21 Dec 2004

Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
Stas Bekman 22:01 on 21 Dec 2004

Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
Philippe M. Chiasson 18:59 on 04 Jan 2005

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52