title: Requests hanging on Session module on IIS 7.5
body: <p>From time to time, some requests on my website starts to hang on the RequestAcquireState state of the Session module. When that spiral begins all requests timeout and we need to restart the IIS on the affected server.</p>
  
  <p>I investigated it a lot and the only conclusion I got is that somehow a deadlock is happening while the application tries to access user data stored in Session.</p>
  
  <p>The only option I can think of to fix this issue is to either reduce or stop using Sessions in my application. This is definetely part of the plan, but it will take a while before we can complete that.</p>
  
  <p>We run 6 machines with IIS 7.5, out of proc StateServer and server affinity on in our Load Balance.</p>
  
  <p>Any hints on how to workaround this issue or fix it at all without having to remove Sessions entirely?</p>
  
  <p><img src="https://i.stack.imgur.com/afmlU.png" alt="IIS Hanging Processes"></p>