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
blinkme323Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
Your problem may be that your site is calling a long running Web Service /database operation.
Please check executionTimeout section of the following this link:
http://support.microsoft.com/kb/821268
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
blinkme323Author Commented:
It turns out that some database replication software was installed on the DB server.  Once that was uninstalled, everything returned to normal.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.