App Pool Hangs, Only Fixed By Restarting It. RRS feed

  • Question

  • User-776178260 posted

    I am new to managing IIS.

    One of our web services is run by it's own Application Pool.

    It takes the requests, runs a SQL query, and returns some JSON.
    Roughly once to twice a month the service will seemingly freeze, and stop responding to requests.

    IIS reports the app pool as running, and no log that I know of reports an error.
    Restarting the app pool solves the problem, until it decides to hang again.

    I have tested requests to the service that I logged as occurring shortly before I believe the  app pool froze, but have been unable to duplicate the problem purposefully.

    Per some colleague's advice, as they have a similar problem, I have started a task that regularly restarts the app pool.

    Is there a way to tell exactly what request - if that is indeed the cause - is causing the app pool to hang?

    Are there any causes that might be easy to test for?

    Monday, May 6, 2019 9:42 AM

All replies

  • User690216013 posted

    Learn to use a performance profiler to see what's up, or open a support case to consult Microsoft support via http://support.microsoft.com. I don't assume everyone knows how to collect hang dumps and analyze on their own.

    Monday, May 6, 2019 1:10 PM