PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

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

From: =?iso-8859-1?Q?Jean-Fran=E7ois_Nadeau?=
Subject: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1
Date: 13:14 on 21 Dec 2004
------_=_NextPart_000_01C4E75F.10FC43B6
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C4E75F.10FC43B6"


------_=_NextPart_001_01C4E75F.10FC43B6
Content-Type: text/plain;
	charset="iso-8859-1"

Hi all,
 
I was using mod_perl-1.99_14 under Apache 2.0.49,
 
I upgraded to mod_perl-2.0.0-RC1 under Apache 2.0.52.
 
Im using RedHat 8.0 / perl 5.8.0 / CGI.pm 3.05
 
Apache configuration :
 
 SetHandler perl-script
 PerlResponseHandler ModPerl::PerlRun
 PerlOptions +ParseHeaders +GlobalRequest
 
We only use the PerlRun handler.  
 
Since the upgrade,  Apache childs leak (fast).
 
Using the old PerlRun.pm with the current mod_perl.so does not leak.
 
I attached "mybugreport" 
 
Let me know if more information is needed
 
Regards,
 
Jean
 

------_=_NextPart_001_01C4E75F.10FC43B6
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>Hi 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>I was using 
mod_perl-1.99_14 under Apache 2.0.49,</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>I upgraded to 
mod_perl-2.0.0-RC1 under Apache 2.0.52.</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>Im using RedHat 8.0 
/&nbsp;perl 5.8.0 / CGI.pm 3.05</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004></SPAN><SPAN class=703280113-21122004><FONT 
face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>Apache configuration 
:</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>&nbsp;SetHandler 
perl-script<BR>&nbsp;PerlResponseHandler ModPerl::PerlRun<BR>&nbsp;PerlOptions 
+ParseHeaders +GlobalRequest</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>We only use the 
PerlRun handler.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>Since the 
upgrade,&nbsp; Apache childs leak (fast).</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>Using the old 
PerlRun.pm with the current mod_perl.so does not leak.</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>I attached 
"mybugreport" </FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial size=2>Let me know if more 
information is needed</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2>Jean</FONT></SPAN></DIV>
<DIV><SPAN class=703280113-21122004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C4E75F.10FC43B6--

------_=_NextPart_000_01C4E75F.10FC43B6
Content-Type: application/octet-stream;
	name="mybugreport"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="mybugreport"

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

2. Used Components and their Configuration:

*** mod_perl version 1.9918

*** using /root/NEW/mod_perl-2.0.0-RC1/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB      =3D> aprext
  MP_AP_PREFIX    =3D> /usr/local/apache-2.0.52
  MP_COMPAT_1X    =3D> 1
  MP_GENERATE_XS  =3D> 1
  MP_INST_APACHE2 =3D> 1
  MP_LIBNAME      =3D> mod_perl
  MP_USE_DSO      =3D> 1


*** The httpd binary was not found


*** (apr|apu)-config linking info

 -L/usr/local/apache-2.0.52/lib -lapr-0 -lrt -lm -lcrypt -lnsl  =
-lpthread -ldl
 -L/usr/local/apache-2.0.52/lib -laprutil-0 -lgdbm -ldb-4.0 -lexpat



*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) =
configuration:
  Platform:
    osname=3Dlinux, osvers=3D2.4.21-1.1931.2.382.entsmp, =
archname=3Di386-linux-thread-multi
    uname=3D'linux stripples.devel.redhat.com =
2.4.21-1.1931.2.382.entsmp #1 smp wed aug 6 17:18:52 edt 2003 i686 i686 =
i386 gnulinux '
    config_args=3D'-des -Doptimize=3D-O2 -g -pipe -march=3Di386 =
-mcpu=3Di686 -Dmyhostname=3Dlocalhost -Dperladmin=3Droot@localhost =
-Dcc=3Dgcc -Dcf_by=3DRed Hat, Inc. -Dinstallprefix=3D/usr =
-Dprefix=3D/usr -Darchname=3Di386-linux -Dvendorprefix=3D/usr =
-Dsiteprefix=3D/usr -Dotherlibdirs=3D/usr/lib/perl5/5.8.0 -Duseshrplib =
-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun =
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3D3pm =
-Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly =
-Dpager=3D/usr/bin/less -isr'
    hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
    usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine =
usemultiplicity=3Ddefine
    useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
    use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
    usemymalloc=3Dn, bincompat5005=3Dundef
  Compiler:
    cc=3D'gcc', ccflags =3D'-D_REENTRANT -D_GNU_SOURCE =
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing =
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-I/usr/include/gdbm',
    optimize=3D'-O2 -g -pipe -march=3Di386 -mcpu=3Di686',
    cppflags=3D'-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS =
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include =
-I/usr/include/gdbm'
    ccversion=3D'', gccversion=3D'3.2.2 20030222 (Red Hat Linux =
3.2.2-5)', gccosandvers=3D''
    intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D1234
    d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D12
    ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t', lseeksize=3D8
    alignbytes=3D4, prototype=3Ddefine
  Linker and Libraries:
    ld=3D'gcc', ldflags =3D' -L/usr/local/lib'
    libpth=3D/usr/local/lib /lib /usr/lib
    libs=3D-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=3D-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=3D/lib/libc-2.3.2.so, so=3Dso, useshrplib=3Dtrue, =
libperl=3Dlibperl.so
    gnulibc_version=3D'2.3.2'
  Dynamic Linking:
    dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, =
ccdlflags=3D'-rdynamic =
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags=3D'-fPIC', lddlflags=3D'-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):=20
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS =
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
  	MAINT18379
  Built under linux
  Compiled at Aug 13 2003 11:47:58
  %ENV:
    PERL_LWP_USE_HTTP_10=3D"1"
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : 5.64, 5.65
mod_perl       : 1.9914, 1.9918


3. This is the core dump trace: (if you get a core dump):

  [CORE TRACE COMES HERE]

This report was generated by t/REPORT on Tue Dec 21 12:53:05 2004 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to modperl-subscribe@xxxx.xxxxxx.xxx.




------_=_NextPart_000_01C4E75F.10FC43B6
Content-Type: text/plain; charset=us-ascii

        -- 
        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
------_=_NextPart_000_01C4E75F.10FC43B6--

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
Philippe M. Chiasson 18:59 on 04 Jan 2005

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