Was using 4.3.1, now using 4.3.2, Win2K, Apache 1.3x, SP3+, Athlon 2100+, 1GB RAM.
I have pages that include HTML from an ad server. Each page contains three calls like:
include('http://mystuff.com?params&n&more');
Running this over time generates an enormous number of handles (sometimes as many as 500K overnight). There doesn't seem to be an easy way to deallocate the handle use.
Tested it on new system, called the page without the include call, and no handle leak. Included the include call. Handle leak.
So I tried rewriting it to use calls like:
file_get_contents("http://mystuff.com?params&n&more");
and I still have an handle link. I absolutely have to be able to include third party HTML in a page, but if the system hangs all the time, I can't do it. I'm stuck in Win2K (yeah, I know, go to something else--can't), and I'm dyin' here.
By the way, I also did repeated calls to phpInfo() just to see if general PHP leaked, but it didn't. It seems to only leak when getting the data remotely.
Is there any way to GC? Am I missing something critical? There's only a teensy amount of PHP code on these pages, just the includes, but I'd like to keep it as PHP if I can.
I could use all the insights you folks might be willing to share.
Nut Raegis