Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
A Deadlock Condition Seems to Occur in ASP.NET When the Server Is Under Heavy Browse Stress
Article ID: 817321 - View products that this article applies to.
During periods of heavy browse stress, or when you perform stress tests on the browser functionality of Microsoft Outlook Mobile Access, you may seem to experience a deadlock condition in the ASP.NET process. In this seeming deadlock condition, the server stops responding to client requests, and the process restarts.
This behavior occurs because the length of time that is specified by the responseDeadlockInterval value in the Machine.config file is reached. By default, this value is set to 3 minutes. In this default situation, if the server does not send a response to the Outlook Mobile Access client in 3 minutes or less, ASP.NET assumes that a deadlock condition exists and restarts the process.
This behavior may occur on computers that have slower processors or less memory that leads to situations where the server takes longer than is specified by the responseDeadlockInterval value to send a response.
To resolve this behavior, increase the length of time that is specified by the responseDeadlockInterval value in either the Machine.config file or in the Web.config file. To do so, use one of the following methods that is appropriate to your situation.
Edit the Machine.config FileTo modify the responseDeadlockInterval value in the Machine.config file:
Edit the Web.config FileFor additional information about how to edit the Web.config file, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/815178/EN-US/ )HOW TO: Edit the Configuration of an ASP.NET Application
ASP.NET configuration information is stored in XML-based text files. The Machine.config configuration file contains settings that apply to the whole computer. This file is located in the following folder:
SystemRoot\Microsoft.NET\Framework\VersionNumber\ConfigMachine.config contains configuration settings for computer-wide assembly binding, built-in remoting channels, and ASP.NET. You can change the settings in the Machine.config file to modify the behavior of .NET programs on the computer.
The Web.config configuration files contain settings that are specific to an application. The settings in the Web.config file can override or modify the settings that are defined in parent folders, such as settings that are defined in the Machine.config file for the computer.
For more information about ASP.NET configuration files, visit the following Microsoft Web sites:
http://msdn2.microsoft.com/en-us/library/1xtk877y(vs.71).aspxFor additional information about the Web.config configuration file, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/815179/EN-US/ )HOW TO: Create the Web.config File for an ASP.NET Application