Performance tuning for web services

This is a good article from microsoft. Very usefull if you work with asp.net and web services.

When you make calls to XML Web services from an ASP.NET application, you may experience contention, poor performance, and deadlocks. Clients may report that requests stop responding (or "hang") or take a very long time to execute. If a deadlock is suspected, the worker process may be recycled. You may receive the following messages in the application event log.

aspnet_wp.exe (PID: ) was recycled because it was suspected to be in a deadlocked state. It did not send any responses for pending requests in the last 180 seconds.
OR
ISAPI 'C:\Windows\Microsoft.net\Framework\v.1.1.4322\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.
OR
A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was ''.

Check out this link to understand more about this error and how to handle them.

http://support.microsoft.com/kb/821268

No comments: