long delays in AcquireRequestState

后端 未结 3 1692
不思量自难忘°
不思量自难忘° 2020-12-29 04:45

Using performance monitoring tool \"New Relic\" I am seeing occasional (but too many) long delays in the \"AcquireRequestState\". I am talking about 10, 20 second delays, s

3条回答
  •  隐瞒了意图╮
    2020-12-29 05:10

    My team saw this "AcquireRequestState" delay reported by NewRelic earlier today when one of our ASP.NET applications was having performance problems on a particular page.

    The root cause turned out to be a change to a stored procedure that we'd recently deployed to our SQL Server database, which was inadvertently causing that stored procedure to take a very long time to execute. The stored procedure was called as a part of displaying the page that was having the performance issue.

    We were able to resolve the issue by identifying and fixing the performance problem with the stored procedure. The "AcquireRequestState" issue from NewRelic turned out to be irrelevant; it was a symptom of the problem, rather than the cause.

    This was on an ASP.NET 4.5 application running on Windows Server 2008.

    tl;dr: The "AcquireRequestState" delay reported by NewRelic may be a side effect of some other problem that's causing one or more of the pages and/or AJAX requests in your ASP.NET app to take a long time to load.

提交回复
热议问题