ID: 32128 User updated by: i at downfire dot com Reported By: i at downfire dot com -Status: Feedback +Status: Open Bug Type: Performance problem Operating System: linux RH 8.0 Kernel 2.4.x PHP Version: 4.3.10 New Comment:
My english is not that good so here goes: The script i tried to execute on the server(or better to say, a user tried to) is found at www.subdreamer.com witch is, as the creators of it state "a good pice of php scripting". Now i made some changes to the webservers here and now the problem seems to be gone. So i think it's more php with Apache 2.x then the script it self. Explanation: I had a linux RH 8.0 server running apache 2.0.53 with php 4.3.10 with a mysql at the side witch would be 3.39.x. On that configuration the script got out of control and the memory got down to 3700K witch is the minimum of the server memory. I now `downgraded` the server to Apache 1.3.33 with php 4.3.9. Nou i tested the script that sucked all the memory on this configuration and it runs great. Could this has something to do with Apache 2.0.53? I looks like php does not work right with the 2.x version of Apache and gets memory leaks. Previous Comments: ------------------------------------------------------------------------ [2005-02-27 23:22:13] [EMAIL PROTECTED] Can not reproduce, please provide a short example script. ------------------------------------------------------------------------ [2005-02-27 15:03:32] i at downfire dot com I already used the CVS. That does not solve the problem. I used ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql to configure the php since i don't use any other modules in php. I'm now compiling apache 1.3.33 with php 4.3.9 to have a look what this does. ------------------------------------------------------------------------ [2005-02-27 14:33:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip And if it still happens, provide the configure line you used. ------------------------------------------------------------------------ [2005-02-27 13:40:00] i at downfire dot com Description: ------------ I get a memory leak from the php on the server. (i'm a webhost) The first second i got 200MB+ and the next my swap is full and memory down to 3700 K. There is a normal script ran. I redused the usage of php memory to 1M but this does not help us solve te problem. I use apache 2.0.53 with php 4.3.10 and Asp sun one 4.0.1L. I have never had this problem with php 4.3.9. it started when i upgraded to 4.3.10. I'm gone downgrade to 4.3.9 untill this problem is solved since i can't have my server crash every time. Can you please help us :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32128&edit=1
