PROBLEM

Browsing REST services directory after a period of inactivity results in a delay in response

Last Published: April 25, 2020

Description

A performance issue is encountered when accessing a map service from the REST endpoint after a period of inactivity.

Cause

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.

Solution or Workaround

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.

  1. Open IIS Manager.
  2. Expand the Local Computer > Application Pools.
  3. • IIS7: Click on the Application Pools icon to show a list of the application pools that are defined on the server. Select the application pool that contains the REST endpoint. Click the option for Advanced Settings in the right-hand pane (Actions).

    • IIS6: Under Application pools, right-click the application pool that contains the REST endpoint, and select Properties.
  4. • IIS7: In the Advanced Settings dialog box look for the Idle Time-out (minutes) property. Change the value to the preferred setting.
    IIS7 Application Pool Advanced Settings

    [O-Image] IIS7 Application Pool Advanced Settings
    • IIS6: On the Performance tab, under Idle timeout, change the value to the preferred setting.
    IIS6 Application pool properties.

    [O-Image] IIS6_appPoolSettings

Article ID:000011280

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic