From:             prof_moriarty at veryfast dot biz
Operating system: win xp
PHP version:      5.0.0RC2
PHP Bug Type:     Apache related
Bug description:  apache consuming 100MB RAM

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 bug report at http://bugs.php.net/?id=28177&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28177&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28177&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28177&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28177&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28177&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28177&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28177&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28177&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28177&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28177&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28177&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28177&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28177&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28177&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28177&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28177&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28177&r=float

Reply via email to