Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8290179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:43:18+00:00 2026-06-08T12:43:18+00:00

We’ve been experiencing a very serious issue with IIS and Azure. Not sure if

  • 0

We’ve been experiencing a very serious issue with IIS and Azure. Not sure if this is something on IIS side or our custom code side of things.

I’m involved with two websites that are running in Azure (Site A and Site B). (Standard WebRoles, ASP.NET MVC3). Both of theses sites are architected completely differently and have nothing to do with one another, but both have shown similar behavior under similar circumstances.

Site A is running with Session state enabled. Session is stored in SQL Azure database. Most of the calls to Site A are secured via ASP.NET SQL Membership provider that points to SQL Azure database

Site B is running with Session state enabled as well. Session is stored in Azure AppFabric cache. Site B also has an http handler that talks to AppFabric Cache and Azure Table Storage.

Issues begin but do NOT recover when key Azure resources (like SQL Azure or Cache) become very slow. When these resources become very slow and processing time for each request exceeds a minute, Azure’s load balancer terminates those connections but IIS on the web roles is not clearing/removing these requests from its active queue.

So, the issue is not that the sites are non-responsive when SQL Azure or AppFabric Cache is very slow. The huge issue is that the sites do not recover when SQL Azure or AppFabric Cache come back and start working normally. Requests are sitting in the Active Requests list and do not go away for long time (hours?). Frankly, I don’t know how long they sit there for, because we reboot those servers ASAP. Since Azure resources can have occasional intermittent issues, and since traffic to both sites is very high, both sites quickly boggle down under the weight of non-clearing requests. IIS queue fills up and until someone goes in and restarts the App Pools, the sites are unavailable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:43:20+00:00Added an answer on June 8, 2026 at 12:43 pm

    I had a similar problem, IIS requests that would last for a very long time. I spent a long time trying to figure out why IIS wasn’t killing them. I tried Sandrino Di Mattia’s solution, and others, none of which worked for me.

    It turned out that IIS wasn’t killing the requests because they were still active. In some cases the client browsers would open a connection and just hold it forever. I’d look in the network debugger for the browser (Firebug, the Webkit inspector, etc) and see the requests just sitting there spinning. As far as I can tell they were responding to keepalives, so IIS and the load balancers would keep the connection and request active. The ultimate solution was to make the browsers just not do that.

    It may not be related to your problem, but in my particular case the problem was <video> tags. When given a <video> tag pointed to a large file, they would open a connection immediately and hold it until the video was played, which might be never (we had autoplay turned off). The solution was to not create the <video> tags until we were ready to play the video.

    Also, is there some way to know that the Azure load balancer has killed a request? The only way I know of to see active is requests is via the IIS management console.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
This could be a duplicate question, but I have no idea what search terms

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.