Re: [PHP4BETA] mem leak?

From: Date: Sat, 11 Mar 2000 00:51:23 +0000
Subject: Re: [PHP4BETA] mem leak?
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-11900@lists.php.net to get a copy of this message
As the script memory is completely freed after each request this might have something to do with the ODBC/Adabas support you're using. Are you using persistent connections? Is there any chance you can find the script which is causing this trouble and cut it down as much as possible? Andi At 11:35 PM 3/10/00 +0100, Gaylord Aulke wrote:
here my report: we compiled and built the current cvs and after that, the error did not occur anymore. the memory leak that brings my server down has increased by at least a factor of two after installing the new build. we switched back to php3.0.15 for now. gaylord aulke Gaylord Aulke wrote: Okay, we are working on it. in the meantime we changed the script so that it frees all odbc-results and closes the connection but the error still occurs. but the memory leak is much bigger than reported by this error message. i think we currently have 100-200 php-requests/minute and lose 500KB every 5-6 seconds. if you need more info to locate the problem, please send me an email. i can do some checks now on the running system with 280 users on it. regards, gaylord aulke Andi Gutmans wrote:
Can you please try and update your Zend CVS tree and see if I managed to fix the problem. I think I have found a leak but I'm not sure this is
what
effected you. Andi At 10:21 PM 3/10/00 +0100, Gaylord Aulke wrote:
hi, we have exactly the same problem. our apache keeps leaking memory. 500 MB in 2 Hours! And then the system swaps and dies. PHP4, CVS-Version 03/10/2000 message from error-log: zend_operators.c(741) : Freeing 0x08399DFC (3 bytes), script=/home/www/knowone4/daheim/anzeige_aufgeben.php this message arrises every 20 seconds. we are using ODBC/ADABAS and sessions. the same scripts work fine with the same apache and php3. anyone got an idea? btw: we are not freeing our odbc-results and connections. can this be the problem? regards, gaylord aulke Teodor Cimpoesu wrote:
./zend_execute.c(1695) : Freeing 0x0818C8AC (12 bytes), script=/opt/apache.fuel/htdocs/phorum/index.php ./zend_execute.c(1695) : Freeing 0x0814C20C (12 bytes), script=/opt/apache.fuel/htdocs/phorum/index.php ./zend_execute.c(1695) : Freeing 0x08154DD4 (12 bytes), script=/opt/apache.fuel/htdocs/phorum/index.php ./zend_execute.c(1695) : Freeing 0x0815E05C (12 bytes), script=/opt/apache.fuel/htdocs/phorum/index.php (CVS snapshot of few minutes ago) The page producing this is the index.php from phorum3.0.8 -- CIMPOESU Teodor, Web Programmer @ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ see http://internet.digiro.net/ -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail:
php4beta-admin@lists.php.net
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/ -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.version4 (#11900) next »