locked
Disable overlapped recycle when binaries changed RRS feed

  • Question

  • User2123379952 posted

    I have an app hosted on IIS 8.5 which does not support multithreading. In Advanced Setting of the app pool I set Maximum Worker Processes to 1 and set Disable Overlapped Recycle to TrueBut I think this setting is not considered when Bin directory or web.config changed - new worker process is created while the old one is still alive, which is causing the app to crash.

    Question:
    How to fully disable overlapped recycle so that I am sure that new worker process for the application is created only after the old process finished completely?

    Tuesday, April 10, 2018 7:45 AM

All replies

  • User753101303 posted

    Hi,

    Are you 100% sure a new process is created before the old one is terminated ? And that this is what causes the crash you see ?

    For advanced IIS questions, https://forums.iis.net/ might be better.

    Tuesday, April 10, 2018 8:13 AM
  • User2123379952 posted

    Actually, I found out that it is not a new process, but new Application Domain. And yes, I am 100% sure :)

    I moved this question to:

    https://forums.iis.net/p/1238380/2140376.aspx?p=True&t=636590121401031587

    Wednesday, April 11, 2018 9:57 AM