I have an ASP.net MVC application running on Windows Server 2008 with IIS 7. Everything works fine, but every night the application pools stops and I receive an
http 503 error, I need to restart the pool every morning.
The server is maintained by someone else and I know it is doing some other work at night which I think is causing this. Moreover, I know that I am receiving connection timeouts to the database at night (SQL Server is running on the same machine).
I would be interested in knowing:
- Why this is happening. Is this a feature of IIS that it stops the application pool when the server gets too slow, or when too many errors occur?
- Is there some configuration to stop this, or is there a way to make the application pool try to restart on its own?
I would be thankful for any hints.