ID:               28177
 Comment by:       dtan at ftl dot co dot jp
 Reported By:      prof_moriarty at veryfast dot biz
 Status:           Open
 Bug Type:         Apache related
 Operating System: win xp
 PHP Version:      5.0.0RC2
 New Comment:

I am experiencing the same thing.  Downloaded the latest snapshot of
PHP5 and am currently running it as a module using Apache 1.3.29. Each
refresh seems to add about 2-8mbs of memory to the child process.


Previous Comments:
------------------------------------------------------------------------

[2004-05-16 20:33:37] prof_moriarty at veryfast dot biz

Ah.
I am now running PHP5RC2 as a module within apache 1.3.x.
And it is STILL not releasing RAM when it is done with it. Noting that
support for apache 1 is _not_ experimental!
Indeed it says this in the install.txt:

"Now that version 4.1 introduces a safer sapi module, we recommend that
you configure PHP as a module in Apache."

So the problem exists with running both versions of Apache with PHP as
a module.

------------------------------------------------------------------------

[2004-04-27 08:42:01] prof_moriarty at veryfast dot biz

Description:
------------
I have php 5RC2 (oh, someone's added rc2 to the list now :) ), running
with apache 2.0.49 as a sapi module (whichever one is not a CGI. the
manaul is far from clear on what it's called!).
Also, mysql (4.0.18).

I have been running apache on my dev machine for a few hours, running
php scripts occasionally to test my code.
Apache is presently using 100MB of RAM.
there are two apache functions running. the initial one that runs from
this command: "H:\webdev2\Apache2\bin\Apache.exe" -w -f
"H:\webdev2\Apache2\conf\httpd.conf" -d "H:\webdev2\Apache2\."

and the child process to that:
H:\webdev2\Apache2\bin\Apache.exe -d H:/webdev2/Apache2 -f
H:\webdev2\Apache2\conf\httpd.conf -d H:\webdev2\Apache2\.


The parent is using just 6mb ram.
The child is using 103mb. The child is using 13mb when initialised.

Every time i run a script, the number goes up by a few K. occasionally
it doesn't go up, but usually it does. This is for different php
scripts that work fine under other configs.
I'd conclude a memory leak, but you folks are the experts. :)
Need more info, just ask.


p.s. I know apache 2 support is experimental. that's why i'm testing
it. :)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28177&edit=1

Reply via email to