Is This Content Helpful?
We're glad to know this article was helpful.
A performance issue is encountered when accessing a map service from the REST endpoint after a period of inactivity.
The application pool timeout for the REST endpoint is set to 20 minutes. IIS will shut down the worker thread process, and the process must be restarted for any request that exceeds this timeout. When the process is restarted, the REST cache is regenerated and causes a delay in the response.
Extend the length of the timeout setting from the default of 20 minutes. The timeout can also be set to zero, which disables the timeout so that the application pool will never shut down due to being idle.
IIS7 Application Pool Advanced Settings
IIS6 Application pool properties.