Description of problem: php 5.2.4 does not free memory used in arrays Version-Release number of selected component (if applicable): up to 5.2.4 How reproducible: See http://bugs.php.net/bug.php?id=41713 There is a script that creates an array that is not freed. If you create a huge array taht eats all the RAM, you can observe the httpd process using more and more ram, swapping and,finally, producinc an OOM to the kernel who has a very tought time to decide who to kill, as httpd has very feew points to be killed (daemon, being used often, etc). I have detected it because we use xmlrpc to pass huge files via post and, after upgrading, the server easily eats all its ram and swap and collapses. Steps to Reproduce: 1. start httpd (default config works as it keeps 5 processes open) 2. copy the script and create a huge array 3. watch top (easy to see) or slabinfo for the http process and see that it uses more and more memory Actual results: httpd eats memory which is not freed Expected results: httpd processes that do not grow,memory should be freed Additional info:
The bug in php bug tracker is solve, so I guess that latest version, 5.2.5, should fix it.
Is there anything I can do to help with this issue? Nothing has happened in 11 days. This is an unfortunately well-known bug with an easy solution, it affects lots of systems and developers. I sincerely think that it shouldn't stay unattended for longer. Again, tell me how I can help and I'll do my best.
I've had a look at rawhide and version 5.2.5 is already available there. Is it possible to update fedora 8 repos with it? More than one month has passed since I post this bug, which is a security issue BTW, and still no answer.