如何调试SessionStateModule / REQUEST_AQUIRE_STATE回吐> 100秒一半我的要求吗?我的、REQUEST_AQUIRE_STATE、SessionState

2023-09-03 01:27:44 作者:热心市民

这开始发生在过去的几天里,可能是因为我安装了Visual Studio 2012年它目前只发生在我的机器上(我的同事们都还对VS 2010),但我希望卸载VS 2012看看是否有一个影响。

This started happening in the last few days; possibly since I installed Visual Studio 2012. It's currently only happening on my machine (my colleagues are all still on VS 2010), but I'm hoping to uninstall VS 2012 to see if that has an affect.

围绕我所有的Web请求挂在SessionStateModule / REQUEST_AQUIRE_STATE周边百秒50%(当时的页面成功完成)。

Around 50% of all my web requests hang in SessionStateModule/REQUEST_AQUIRE_STATE for around 100 seconds (then the page completes successfully).

蚂蚁探查报告所有的时间等待同步,并给出了一个堆栈跟踪在一些IIS线程回调(没有我们的code;可悲的是我没有的信息,以手)。

ANTS Profiler reports all the time as "Awaiting synchronisation" and gives a stack trace in some IIS thread callback (none of our code; sadly I don't have the info to hand).

我启用IIS跟踪所有请求失败请求,并重新加载的我们的应用程序10次在同一页。要求3,5,7,9都带上了100秒,其他人采取< 5秒

I enabled IIS Failed Request Tracing for all requests, and reloaded the same page of our app 10 times. Requests 3, 5, 7, 9 all took > 100 seconds, with the others taking < 5 seconds.

我们使用的是在处理会话,因此没有什么会在网络上或者被序列化。据我所知,没有我们的code一直跑,直到发生这种情况的地步。

We're using In Process sessions, so nothing is going over the network or being serialised. As far as I can tell, none of our code has been run up until the point this happens.

怎样才能发生的事情来调试问题的详细信息?

How can I get more information on what's happening to debug the issue?

可能相关:

Browser等待Ajax调用来完成,即使中止已被调用(jQuery的)

推荐答案

这是在.NET 4.5中的错误;请参阅第6期这个页面上:

This is a bug in .NET 4.5; see "Issue 6" on this page:

http://support.microsoft.com/kb/2828841/en-us