Professional Web Applications Themes

ASP.NET Deadlocks - ASP.NET General

We are seeing a lot of errors like the one below which when occur essentially lock up the ability to run the applications. I have browsed the support articles and they all seem to apply to the 1.0 framework and advise a hotfix to correct the issue. But we are running the 1.1 Framework. The articles suggest changing the timing of the responseDeadlockInterval setting, but don't say whether to increase it or decrease it. So which is it? Any help would be greatly appreciated. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1003 Date: 8/22/2003 Time: ...

  1. #1

    Default ASP.NET Deadlocks

    We are seeing a lot of errors like the one below which when occur
    essentially lock up the ability to run the applications.
    I have browsed the support articles and they all seem to apply to the 1.0
    framework and advise a hotfix to correct the issue. But we are running the
    1.1 Framework.

    The articles suggest changing the timing of the responseDeadlockInterval
    setting, but don't say whether to increase it or decrease it.
    So which is it?

    Any help would be greatly appreciated.


    Event Type: Error
    Event Source: ASP.NET 1.1.4322.0
    Event Category: None
    Event ID: 1003
    Date: 8/22/2003
    Time: 2:53:32 PM
    User: N/A
    Computer: WEBSERVER
    Description:
    aspnet_wp.exe (PID: 3208) was recycled because it was suspected to be in a
    deadlocked state. It did not send any responses for pending requests in the
    last 300 seconds. This timeout may be adjusted using the <processModel
    responseDeadlockInterval> setting in machine.config.

    --
    Martin Blackstone
    MVP - Exchange

    http://www.swinc.com/resource/exchange.htm


    http://www.swinc.com/resource/e2kfaq_appxc.htm


    Martin Guest

  2. #2

    Default Re: ASP.NET Deadlocks

    responseDeadlockInterval:

    Specifies the time interval, in standard process model format (hr:min:sec),
    after which the process will be restarted if the following conditions are
    met:
    a.. There are queued requests.
    b.. There has not been a response during this interval.
    The default is 3 minutes.



    "Martin Blackstone [MVP - Exchange]" <com> wrote in
    message news:phx.gbl... 
    the 

    the 


    MS Guest

  3. #3

    Default Re: ASP.NET Deadlocks

    ISAPI and Worker Process Isolation Mode.
    This might help, I meant to send with first reply.

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/htm/ISAPIAndWorkerProcessIsolationMode.asp





    "MS News (MS ILM)" <com> wrote in message
    news:phx.gbl... 
    (hr:min:sec), [/ref]
    1.0 
    > the [/ref]
    responseDeadlockInterval [/ref]
    in 
    > the 
    >
    >[/ref]


    MS Guest

  4. #4

    Default Re: ASP.NET Deadlocks

    OK, so call me dense, but does that mean I should increase the time? We have
    it cranked up to 5 minutes now.
    The problem is that once we get that error, the ASPNET service is hung and I
    have to issue an IISReset to get it going again.

    Also, is this a development issue (bad code), or a Windows issue?

    --
    Martin Blackstone
    MVP - Exchange

    http://www.swinc.com/resource/exchange.htm


    http://www.swinc.com/resource/e2kfaq_appxc.htm
    "MS News (MS ILM)" <com> wrote in message
    news:phx.gbl... 
    (hr:min:sec), [/ref]
    1.0 
    > the [/ref]
    responseDeadlockInterval [/ref]
    in 
    > the 
    >
    >[/ref]


    Martin Guest

  5. #5

    Default Re: ASP.NET Deadlocks

    This is W2K Server, IIS5. Does this article apply?

    --
    Martin Blackstone
    MVP - Exchange

    http://www.swinc.com/resource/exchange.htm


    http://www.swinc.com/resource/e2kfaq_appxc.htm
    "MS News (MS ILM)" <com> wrote in message
    news:phx.gbl... 
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/htm/ISAPIAndWorkerProcessIsolationMode.asp 
    > (hr:min:sec), [/ref]
    are [/ref]
    > 1.0 [/ref][/ref]
    running [/ref]
    > responseDeadlockInterval [/ref]
    > in [/ref][/ref]
    in 
    > >
    > >[/ref]
    >
    >[/ref]


    Martin Guest

  6. #6

    Default Re: ASP.NET Deadlocks

    Decrease it, may be you are going the wrong way.

    "Martin Blackstone [MVP - Exchange]" <com> wrote in
    message news:phx.gbl... 
    have 

    > (hr:min:sec), [/ref]
    are [/ref]
    > 1.0 [/ref][/ref]
    running [/ref]
    > responseDeadlockInterval [/ref]
    > in [/ref][/ref]
    in 
    > >
    > >[/ref]
    >
    >[/ref]


    MS Guest

  7. #7

    Default Re: ASP.NET Deadlocks

    Are you doing something inside ASP.NET code that you expect to be taking a
    long time? If this is the case, increasing the responseDeadlockInterval
    will be the most direct solution, though changing the requests processing
    architecture so that a client isn't left waiting for > 3 minutes for a
    response is probably a better option.

    If you aren't doing anything that should be taking a long time, you probably
    have a real thread deadlock, and you need to identify it and fix it. The
    PAP group has produced a great doent on ASP.NET debugging [1] to solve
    problems like this. For deadlocks, you can add a DWORD value called
    UnderDebugger to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET key, and
    when this is set to 1, recycling will be disabled, which allows an Attach to
    Process on aspnet_wp.exe to occur.

    [1]
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/DBGrm.asp


    Nick Wienholt, MVP
    Maximizing .NET Performance
    http://www.apress.com/book/bookDisplay.html?bID=217
    Sydney Deep .NET User Group www.sdnug.org


    "Martin Blackstone [MVP - Exchange]" <com> wrote in
    message news:phx.gbl... 
    the 

    the 



    Nick Guest

Similar Threads

  1. CFMX7 SQL 2000 DeadLocks
    By jeff_gombala in forum Coldfusion Database Access
    Replies: 4
    Last Post: December 6th, 10:58 PM
  2. Deadlocks occurring, but not using Session, Appliationor other variables.
    By Snarfblat in forum Coldfusion - Advanced Techniques
    Replies: 4
    Last Post: March 1st, 12:53 AM
  3. PL/PgSQL, Inheritance, Locks, and Deadlocks
    By Thomas F.O'Connell in forum PostgreSQL / PGSQL
    Replies: 5
    Last Post: February 2nd, 03:41 PM
  4. massive deadlocks after upgrade from 7.3 to 9.4
    By kwa@condat.de in forum Informix
    Replies: 4
    Last Post: July 25th, 01:04 PM
  5. Replies: 0
    Last Post: July 24th, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139