I am running a .NET web application in its own application pool on IIS7. The parent website is set to run in its own application pool. Today we noticed a huge number of connections going to IIS. I tried to browse a plain ol' .html page in the directory of the web application and it hangs. I then try to browse another plain .html file in the root of the parent website, and it too hangs.

In performance monitor, i see there are some 8k connections to the default website and climbing. I cant seem to understand if my application was the problem, or IIS itself.

If it was my application, wouldnt the html page in the root of the parent website still be able to be served?

edit: Also, if i shut down the app pool to my application, the html page on the root of the parent website is still not able to be displayed.

  • @Flesh- Ya, i put it up there too, but stackoverflow has more traffic, and I am hoping that some ASP.NET developers would have greater insight on how the parent/child relationship of app pools work for asp.net apps.
    – Mike G
    Nov 30 '09 at 20:12

Mike, the short answer to the question in the title is "No". Every application that has its own application pool, doesn't inherit any other application pool.

But it seems to me that the problem is somewhere else. I'm not very familiar with Windows' TCP stack and connections limitation, but it is possible that IIS itself (the main process that routes requests to the various applications and application pools) causes the problems. This would explain why shutting down your application didn't help making IIS more responsive.

Are 8K users the norm for this site? It this just a one time peak?

Also, try to provide some more information regarding the configuration: amount of RAM, the nature of the applications (static HTMLs? ASP.NET?), etc.

  • I agree. Unique app pools are completely isolated from each other. It sounds like something else is causing this. Since it's HTML it sounds like it's not a database call, but it may be other parts of the page in iframes. Most likely if there is a failure in IIS it will show in the Event Logs or IIS logs. Nov 30 '09 at 23:13

I don't believe so. Sounds more like your server is running out of resources due to the number of connections. Have you tried running perf monitor to check? You could try putting a limit on the connections to your app also.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.