ID: 35820 Updated by: [EMAIL PROTECTED] Reported By: ottawaremovethissixtyseven at hotmail dot com -Status: Open +Status: Feedback Bug Type: IIS related Operating System: W2K PHP Version: 4CVS-2005-12-27 (snap) New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-12-30 17:17:12] ottawaremovethissixtyseven at hotmail dot com We're able to reproduce this memory leak by simply calling phpinfo() during our performance test. No DB API is used. DebugDiag is showing a definite memory leak in php4ts.dll and the XmlInitEncoding function even though we're only running this exact code: <?php phpinfo(); ?> We hit the server with over 300 concurrent users for several hours and can reproduce the memory leak every time. ------------------------------------------------------------------------ [2005-12-29 16:36:22] [EMAIL PROTECTED] Is it necessary to use some DB API to reproduce a leak in XML-related function? And I should note that this script doesn't make any sense, since we don't have the Connect.php and the database used, so we're unable just run it and see the problem. ------------------------------------------------------------------------ [2005-12-29 16:29:14] ottawaremovethissixtyseven at hotmail dot com As part of troubleshooting we created this simple PHP script and ran an intense performance test: <?php include('Connect.php'); $SQL = 'SELECT COUNT(*) FROM COLORS'; fdbc_fetch_into(fdbc_exec($DB,$SQL),&$Count); echo "You have {$Count[0]} colors defined in your system"; ?> Our debugger is showing: a 97% leak probability in php4ts!XmlInitEncoding Please let me know if you need additional information. ------------------------------------------------------------------------ [2005-12-27 20:51:55] [EMAIL PROTECTED] Short reproducable scripts are fine. Please leave the status at "feedback" until you can provide those. ------------------------------------------------------------------------ [2005-12-27 20:38:56] ottawaremovethissixtyseven at hotmail dot com I'm guessing you're looking for the PHP scripts that are being used in this performance test. I'm working on getting this. If you need anything other than the scripts please let me know. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35820 -- Edit this bug report at http://bugs.php.net/?id=35820&edit=1