How to prevent IIS from shutting down Web Site when not in use?

前端 未结 1 2034
攒了一身酷
攒了一身酷 2020-12-09 05:23

I have a web application hosted under IIS. It is a data warehouse, and during its startup process it requires instantiating a large set of items in memory (takes roughly ~20

相关标签:
1条回答
  • 2020-12-09 05:48

    Check Idle Time-out settings under process model in screenshot. That setting is causing app pool shutting down when remain idle for 20 mins. You can set it to 0 to keep it running all time even when its idle i.e. not processing any requests.

    Note: Keeping app pool running all time will consume server's precious memory. It may become critical especially if application is leaking memory.

    0 讨论(0)
提交回复
热议问题