Re: [PHP4BETA] mem leak?
| From: | Gaylord Aulke | Date: | Fri, 10 Mar 2000 22:02:52 +0000 |
| Subject: | Re: [PHP4BETA] mem leak? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11892@lists.php.net to get a copy of this message | ||
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