Microsoft KB Archive/321792

= FIX: ASP.NET Worker Process (Aspnet_wp.exe) Is Recycled Unexpectedly =

Article ID: 321792

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft ASP.NET 1.0

-



This article was previously published under Q321792



SYMPTOMS
If the ASP.NET worker process has been idle for the time that is specified for the responseDeadlockInterval configuration setting in the Machine.config file, the ASP.NET worker process (Aspnet_wp.exe) is recycled unexpectedly.

The following event is logged in the Application event log:

Event Type:    Error Event Source:  ASP.NET 1.0.3705.0 Event Category: None Event ID:      1003 Date:          4/24/2002 Time:          6:18:23 PM User:           N/A Computer:       Description: 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.

NOTE: This event is expected if you experience a deadlock scenario. Before you apply the hotfix that is listed in the &quot;Resolution&quot; section, you must rule out a deadlock scenario. If your problem is caused by a deadlock, you do not need this hotfix.

To rule out a deadlock scenario, use one of the following methods:
 * Open Performance Monitor, and then add the Requests Executing counter for the ASP.NET Application object. If the number of requests that are executing is greater than zero at the time of the recycle, you are experiencing a deadlock.

For more information about Performance Monitor, see the Microsoft Windows Help documentation.
 * Attach a native debugger to the Aspnet_wp.exe process, and then dump out the threads. If any of the threads are currently processing a request, you are experiencing a deadlock. In this case, examine the thread that is processing a request to determine what is causing the request to stop responding (hang).



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft .NET Framework. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

318836 INFO: How to Obtain the Latest .NET Framework Service Pack

The English version of this fix should have the following file attributes or later:   Date         Time   Version             Size   File name --  21-Apr-2002  12:15  1.0.3705.258      192,512  Aspnet_isapi.dll 21-Apr-2002 12:10                     19,332  Aspnet_perf.ini 21-Apr-2002 12:15  1.0.3705.258       24,576  Aspnet_regiis.exe 21-Apr-2002 12:15  1.0.3705.258       28,672  Aspnet_wp.exe 05-Apr-2002 12:07                      8,709  Smartnav.js   05-Apr-2002  12:07                      7,003  Smartnavie5.js   22-Apr-2002  00:39  1.0.3705.258    1,183,744  System_web.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft .NET Framework Service Pack 2 (SP2).



MORE INFORMATION
Under certain scenarios, the request processing logic may not be synchronized. This can cause the deadlock detection mechanism to engage if no requests have been received for the time that is specified in the responseDeadlockInterval attribute in the  element of your Machine.config file.

NOTE: You can frequently reproduce this problem when you run under Secure Sockets Layer (SSL).

Additional query words: out of synch deadlock detection problems

Keywords: kbhotfixserver kbqfe kbbug kbfix kbhttpruntime kbnetframe100presp2fix kbnetframe100sp2fix KB321792

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.