Link to home
Start Free TrialLog in
Avatar of blinkme323
blinkme323

asked on

Odd behavior with app pools in Server 2008 R2

Hey everyone,

I have an odd issue going on here on our web server where the application pools seem to just hang and ultimately terminate.  However, even after recycling there are numerous issues and we ultimately have to reboot the server.  On each occurence I see the following errors that log:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:      
Event ID:      5011
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      
Description:
A process serving application pool 'app' suffered a fatal
communication error with the Windows Process Activation Service. The
process id was '3492'. The data field contains the error number.
---------------------------------------

Which also seems to coincide with the following .NET error:

Log Name:      Application
Source:        Microsoft-Windows-IIS-W3SVC-WP
Date:          
Event ID:      2262
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:    
Description:
ISAPI 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.
-------------------------------------------------

However, after the most recent occurrence things seemed to be working fine for about a day, until I tried to manually recycle the app pools as a test and the same errors began to log.  When recycling though, I noticed that the pools took a LONG time to come down, which is reflected in the logs:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          
Event ID:      5138
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      
Description:
A worker process '2864' serving application pool 'pool' failed to stop a listener channel for protocol 'http' in the allotted time.  The data field contains the error number.
-----------------------------------------

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          
Event ID:      5013
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      
Description:
A process serving application pool 'pool' exceeded time limits during shut down. The process id was '2864'.
----------------------------------

So is it possible that there is something wrong with the stop / start logic of the app pools, or is there maybe something else behind the scenes?  Just for reference, we are 2008 R2, IIS 7.5, .NET 4.0.30319

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of blinkme323
blinkme323

ASKER

It turns out that some database replication software was installed on the DB server.  Once that was uninstalled, everything returned to normal.