Re: Massive memory leak? (4.1.0RC1)

From: Date: Fri, 26 Oct 2001 12:44:09 +0000
Subject: Re: Massive memory leak? (4.1.0RC1)
References: 1  Groups: php.dev php.qa 
Request: Send a blank email to php-qa+get-3753@lists.php.net to get a copy of this message
Just a little warning: This will lock your machine. I just spend a while fixing the damages caused by the crash.. (Maybe I should be using something else than ext2 ?) And Yasuo, is zlib.output_compression the only php.ini directive that you need to set? I thought you'd need these too: output_handler=ob_gzhandler output_buffering=On zlib.output_compression=On --Jani On Fri, 26 Oct 2001, Yasuo Ohgaki wrote: >Jani Taskinen wrote: > >> RH 6.2: linux 2.4.10/glibc 2.1.3/zlib 1.1.3 >> apache 1.3.22/modssl 2.8.5/openssl 0.9.6b >> >> And I just realized I had been testing with the latest CVS which >> works fine, but when I installed 4.1.0RC1 and started apache >> and accessed a page with only <?php phpinfo(); ?> linux freezed. >> So I think it's only a problem within the RC.. >> >> --Jani > > >I'm using distribution called Kondara 2.0 mainly. Before, I >submit request for testing to the community, I tested with >RedHat 7.1. I got almost the same result with RedHat 7.1/ >kernel 2.4.7. It just didn't freeze on the box as in >Kondara 2.0 box. (Kondara is similar to RedHat 7.1) > >I would like to hear from QA team members, if you have >problem with zlib.output_compression=On or not. >(Linux/FreeBSD/Solaris/etc) > >Test is very simple to perform. > >1) Get 4.1.0RC CVS source >2) Copy php.ini-recommend to php.ini and enable >zlib.output_compression > >zlib.output_compression=On > >3) configure/build/install PHP 4.1.0RC > >'./configure' \ >'--with-apxs' \ >'--disable-short-tags' \ >'--without-mysql' \ >'--without-pear' \ >'--with-zlib' \ >'--enable-debug' > >4) Create test php script containing ><?php phpinfo(); ?> > >5) restart httpd, diplay script created as in 4) > >6) Stop httpd and check apache error log see if >memory leak is reported or not. > >I've tested on 2 boxes > >Kondara-2.0/kernel 2.4.4/glibc 2.2.2/zlib 1.1.3/Apache >1.3.20/modssl 2.8.4/openssl 0.9.6b > >RedHat 7.1/kernel 2.4.7/glibc 2.2.2/zlib 1.1.3/Apache >1.3.20/modssl 2.8.4/openssl 0.9.6b > >This problem wouldn't be special to my environments. >So please test and submit the result. > >-- >Yasuo Ohgaki > > > > >

« previous php.qa (#3753) next »