php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15722 ISAPI version of PHP4 running in IIS 6 causes occasional event ID 1013
Submitted: 2002-02-25 21:12 UTC Modified: 2002-12-09 10:44 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: WPinegar at healthtech dot net Assigned:
Status: Closed Package: IIS related
PHP Version: 4.3.0dev OS: Windows.Net Server (RC1)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: WPinegar at healthtech dot net
New email:
PHP Version: OS:

 

 [2002-02-25 21:12 UTC] WPinegar at healthtech dot net
I've been running the latest PHP4.2.0-dev build running as a ISAPI filter and ISAPI script engine in IIS 6 and noticed that after I run server side PHP code the follow warning will be logged to the System event log:

- - - - - - - - - - - -
Event Type:	Warning
Event Source:	W3SVC
Event Category:	None
Event ID:	1013
Description:
A process serving application pool 'DefaultAppPool' took too long to shut down. The process id was '3472'. 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
- - - - - - - - - - - -

IIS 6 has many new features including the concept of application pools and worker processes.  This event log error indicated that a web site in the DefaultAppPool had a process that took longer then 90 seconds to shutdown so was subquently terminated.  The web site running in this pool only runs PHP code so I was curious why the ISAPI version of PHP process isn't shutting down properly after being executed.  Switching to the CGI version of PHP will make this event log entry stop appearing.

Can you guys check on this and let me know if this is the intended behavior of ISAPI PHP?  There's probably some minor changes need to make the ISAPI version of PHP 100% compatible with IIS 6...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-19 17:10 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-21 16:36 UTC] WPinegar at healthtech dot net
Yes, I tried.  No help, problem still occurs.  Appears to be something related to shutting down a worker process that has the PHP ISAPI loaded....
 [2002-12-08 17:30 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-12-09 10:44 UTC] WPinegar at healthtech dot net
Yes, the issues appears to be fixed.  After installing the latest build of PHP 4.3.0-dev I discovered that the PHP ISAPI filter shuts down properly and allows the IIS 6 worker process to terminate without generating the warning message.  Thank you for resolving the issue.

Note: I tested the latest build of PHP 4.3.0-dev (12/9/2002) on Windows.Net Server RC2 (build 3718).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 00:01:33 2024 UTC