[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

Application Pool Problem

Hey anyone!

I have a MAJOR URGENT problem. I use a Windows 2003 with IIS and have over 115 domains on it. Recently I have added some sites that use databases and have created separate application pools for each one of them.

One particular site, has various databases and is constantly up and down all the time. As soon as I recycle the IIS app pool it starts to work again, but this is happening like nearly 10 times a day.

I need help and advice... How can I optimize settings for each app pool? How can I better diagnose the problem?

Please help, anyone!
2 Solutions
Ted BouskillSenior Software DeveloperCommented:
That behavior is always because of badly written code that isn't releasing database connections or objects properly.  You could set up the application to recycle more often but that will cause problems for users of that particular web application that have legitimate connections.  Sorry but diagnosing this type of problem involves looking at the source code.
How about checking the event viewer and jotting down the red "critical" event codes/ids, the stack trace and using that to get a better idea as to where the apps are failing. I'd think optimizing via recycling is more of a temporary bandaid.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now