From: ryan at rbftpnetworks dot com Operating system: Windows Based O/S Running IIS PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: ISAPI Module Hi Resources usage and server lockup
Description: ------------ Every now and again, approx 1hr-36hrs, the machine will explode to FULL CPU and I would get the error message below in the Server Logs. The CPU power would be taken up by the dll that runs the IIS PHP Isapi in protected web mode. I would either have to restart IIS (if I can gain terminal access) or restart the server. Upon searching the internet for other people with the same problem, I found many people - that still have not found a resolution to this problem. I feel that my case is slightly different. ERROR MESSAGE: The HTTP server encountered an unhandled exception while processing the ISAPI Application ' php4ts!php_execute_script + 0x21F + 0x8B9B1B41 '. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. -- A Fix Below: I seem to have found a Fix for the 100% CPU bug when running PHP under ISAPI mode under IIS. You need to make sure that "Cache ISAPI Application" is unticked on all sites that you are running the PHP module on. This seems to work fix the problem. System memory is used more greatly, but the CPU never locks up at 100%. This fix has been tested on high traffic sites using PHP ISAPI over a period of 2 weeks, and seems fine. Please reply if the fix does/does not work for yourself. -- Edit bug report at http://bugs.php.net/?id=27081&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27081&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27081&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27081&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27081&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27081&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27081&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27081&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27081&r=support Expected behavior: http://bugs.php.net/fix.php?id=27081&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27081&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27081&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27081&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27081&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27081&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27081&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27081&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27081&r=float