php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26861 IIS ISAPI Lockup
Submitted: 2004-01-10 11:38 UTC Modified: 2004-01-28 15:01 UTC
From: ryan at rbftpnetworks dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.3.4 OS: Windows 2000 Server
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ryan at rbftpnetworks dot com
New email:
PHP Version: OS:

 

 [2004-01-10 11:38 UTC] ryan at rbftpnetworks dot com
Description:
------------
For the time that I am on a Windows server, before I changeover to the wonderful Linux, I have been running the ISAPI module of PHP under IIS, because the sites being run are high traffic, production sites that require speed.

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. 

Reproduce code:
---------------
The websites are using the well known PHP-Nuke scripts with MySQL Winnt on the same server.

Expected result:
----------------
The server to run stable.

Actual result:
--------------
The Server page generation times would increase, the server cpu will go up to 100% usage.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-10 20:18 UTC] sniper@php.net
We are aware of PHP's problems with stability under IIS and are working 
to rectify the problem. Unfortunatly your bug report does not contain any
extra useful information and we already have enough bug reports open about
this issue. If you can provide more detailed information such as a 
reproducable crash or a backtrace please do so and reopen this bug. 
Otherwise please keep trying new releases as we are working to resolve 
the problems on this platform
 
Thanks for your interest in PHP.

..not enought information, etc.

 [2004-01-10 20:44 UTC] ryan at rbftpnetworks dot com
Rgr that - for now I will stick some more RAM in my server and run from the CGI.  In about 2 weeks, I will be moving all the sites over to linux anyway.  Keep up the great work guys :-)
 [2004-01-28 11:41 UTC] ryan at rbftpnetworks dot com
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.
 [2004-01-28 15:01 UTC] sniper@php.net
Still the same issue as mentioned earlier. ISAPI is not usable for high traffic sites.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Mar 31 03:00:02 2026 UTC