php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41471 PHP ISAPI Crashes IIS6 when IIS starts multiple instances
Submitted: 2007-05-23 10:04 UTC Modified: 2007-05-23 15:31 UTC
Votes:3
Avg. Score:4.0 ± 1.4
Reproduced:2 of 3 (66.7%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: bjoern dot andersen at atosorigin dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.2.2 OS: Windows Server 2003 SP2 32bit
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: bjoern dot andersen at atosorigin dot com
New email:
PHP Version: OS:

 

 [2007-05-23 10:04 UTC] bjoern dot andersen at atosorigin dot com
Description:
------------
We got 5.2.2 in win2k3SP2/IIS6 32 Bit.
PHP installed as ISAPI extension, not filter.
Many concurrent application pools.

The problem seems to go away when all webs run in the same application pool (No multithreading/multiionstanceing). It also occours when there is only 1 pool with more than one worker (webgarden-configuration). So there is a point to start.

It's not a real workaround for us, because in the huge production
environment we run, we need to separate the application in safe pools.

Reproduce code:
---------------
Any PHP application, as long as many run simultaneously on different worker instances. Examples: PHPMyAdmin, Mediawiki, Mantis, ...

Expected result:
----------------
Standard output of the Applications

Actual result:
--------------
No content returned, but
either something like this in the win application eventlog:

Event Type:	Information
Event Source:	Application Error
Event Category:	(100)
Event ID:	1004
Date:		23.05.2007
Time:		11:09:44
User:		N/A
Computer:	P-NG-W3PHP2
Description:
Reporting queued error: faulting application w3wp.exe, version
6.0.3790.3959, faulting module php5isapi.dll, version 5.2.2.2, fault
address 0x000023d7.

or, more often, this in the system event log:

Event Type:	Warning
Event Source:	W3SVC
Event Category:	None
Event ID:	1011
Date:		23.05.2007
Time:		11:40:40
User:		N/A
Computer:	P-NG-W3PHP2
Description:
A process serving application pool 'PHP Sammelpool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '404'. The data field contains the error number. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-23 15:31 UTC] bjoern dot andersen at atosorigin dot com
I think i got it now. We used Alternative PHP Cache (APC) extension with PHP. This seems to have problems with multithreading environments. Allthough the doc doesn't mention it. It runs ok now without APC. If this was realy the problem, please update the documentation or fix APCs multithreading ability.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC