Hello, I have an ASP.Net AJAX website that needs to run continuously and it's not. Originally, the website would randomly throw "ScriptResource.axd" errors, and an associate recommended adjusting the App Pool recycling settings in IIS away from the defaults. My familiarity with IIS is limited, but I managed to spend the past week adjusting settings to recycle the app pool, and no matter what I change it always stops responding (no errors this time) at 22:24 each night. Here's the troubleshooting and findings I've done so far:
- The IIS logs show it stopping every night at 22:23-22:24. No errors, just completely stops. The app itself reflects the same, because it captures the current minutes on the screen for every refresh, and it always shows a 23 or 24.
- Event Log shows nothing at or even close to this time, for both Application and System logs.
- Our network team confirmed that there are no backups or other process-intensive tasks running on that box at that time.
I have the following settings set on the app pool properties:
- Under the Recycling tab, only the “Recycle Worker Processes (in minutes)” item is checked, and set to 60 minutes. Setting this to 8 hours made no difference.
- Under the Performance tab, everything is unchecked, and the “Maximum number of worker processes” item is set to 3.
- Under the Health tab, “Enable Pinging” is checked and set to 30 seconds, “Enable Rapid Fail Protection” is unchecked, and both the Startup and Shutdown time limits are set to 90 seconds.
- Under the Identity tab, “Predefined” is selected and set to Local System.
Likewise, under the actual website settings, I have “Enable HTTP Keep-Alives” checked, bandwidth throttling is not checked, website connections is set to unlimited, “Enable Content Expiration” is not checked, and Isolation mode is not checked (it’s IIS6). The server it’s running on is my dev server (Server 2003) and I’m the only developer, so I know nobody’s messing with the box at all, ‘cause nobody else can get to it. The goal is for the web app to run continuously. There's a Timer control built into the app that causes a postback every 10 seconds. Users will walk past the screen and see current information displayed automatically.
What else could be causing this to happen every night at the same time?
UPDATE: I apologize, I read the IIS log wrong, it actually dies between 15:23 and 16:18 every day. There's nothing running at those times that could interfere either, however.