Mystery memory leak message in PHP 5
Lars Eighner
eighner at io.com
Fri Feb 10 16:31:12 PST 2006
I get this and don't begin to understand it:
/usr/ports/lang/php5-cli/work/php-5.0.5/main/streams/streams.c(1209) : Freeing
0x083AC564 (1 bytes), script=/home/webmaster/allphp/main.php
/usr/ports/lang/php5-cli/work/php-5.0.5/ext/standard/file.c(472) : Actual locati
on (location was relayed)
Last leak repeated 5 times
=== Total 6 memory leaks detected ===
Although php5-cli was built from ports, the port was cleaned
long ago, so the work directory no longer exists, and I have no
idea where to start looking for the problem:
My script?
PHP source?
The port?
The system?
Output of my scripts appears to be correct both to my eye and to
a sgml parser.
What will happen if I keep running these scripts? Will I
eventually run out of memory? Or is the memory recovered when
the script quits? This is run from the command line (well
actually by gmake) and doesn't run from a daemon, and the
process does die a natural death when it is done.
--
Lars Eighner
eighner at io.com
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
More information about the freebsd-ports
mailing list