Paged Pool Memory Increase.. !

Hi,

I have a PHP web site based on Yii Framework (both versions 1.1.2 / 1.1.8 tried). The server is Windows Server 2003 with Microsoft’s ISS 6.0 (FastCgi 1.5), and i have tried both using php 5.2.7 and 5.3.8.

The problem is, the server’s paged pool memory is constantly increasing, based on the traffic of the web site as long as i have observed. The server’s paged pool memory increases from 50-60Mb to around 300-350Mbs approx and then after a while the system crashed since no paged pool memory can be allocated.
The logs of the web site gives errors during opening .php files or connections (ex errors: not enough space, failed to open stream, include *.php, could not open connection, etc.).

I know there is a way to tell the server to start trimming paged pool memory (default value when it reaches to 80% of max PPM) earlier, but i need to know what is probably leaking paged pool memory (as it ever increases i believe there is a leak).
I have tried using poolmon.exe to determine the leak but it had no help (Strg tag is consuming and seems to be leaking memory, but i could not lead to anywhere from that info.)

All my DB connections are closed properly in the code (don’t really know if it has anything to do with my problem).

In the task manager, all php-cgi.exe processes (their number can be up to 20-25 based on the traffic), uses at most around 150Kb Paged pool memory.

I have used different setting values for php memory limit, IIS max instances, max connections variables. Nothing helped.

I believe there is a problem in the coding, may also be regarding the connections to DB servers or web services to ASP.NET servers (used as game or chat motors).

I will be very glad if anyone has faced with a similar problem, or can help with what reasons can lead to a leak in Paged pool memory of the server for a php based web site.

Thanks.

Can

Sponsor our Newsletter | Privacy Policy | Terms of Service