Recycle Spatial Servers without causing ArcIMS services to be unavailable

Last Published: April 25, 2020


This article is intended for ArcIMS 4.0 users only. Users with ArcIMS 4.0.1 should refer to the ArcIMS Help topic "Enabling server recycling" for information.

ArcIMS can be configured so that the Spatial Server periodically is stopped and restarted. However, this Spatial Server recycling feature may cause your ArcIMS services to be down or unavailable if it is not configured properly.

This document covers the procedure for configuring the Spatial Server recycling feature so that no down time occurs for the ArcIMS services.


In order to avoid down time, the Spatial and Virtual Server configuration of your system must be duplicated and an appropriate delay for recycling must be set.

  1. Create a duplicate Spatial Server for each Spatial Server present in ArcIMS. For example, if spatialserver1 and spatialserver2 are present, create spatialserver3 (will be used to mimic spatialserver1) and spatialserver4 (will be used to mimic spatialserver2).
    <a href='' target='_blank'>How To: Add additional Spatial Servers</a>
  2. Complete the duplication by associating the correct Virtual Servers to the new servers. For example, ImageServerArcMap1 Virtual Server is associated with spatialserver1 and ImageServer1 and FeatureServer1 Virtual Servers are associated with spatialserver2. To complete the duplication, associate ImageServerArcMap1 to spatialserver3 and ImageServer1 and FeatureServer1 to spatialserver4.
    <a href='' target='_blank'>How To: Associate Virtual Servers with new Spatial Servers: an ArcMap Server example</a>
  3. Set the recycleSpatialServer.delay variable in the file. Specify the time in minutes. The value used should be long enough to allow the Spatial Server to load all ArcIMS services completely; on some systems this may require some time. For example, if loading all services completely takes 10 minutes, set the delay to 15 minutes in order to allow some extra time.
    <a href='' target='_blank'>How To: Activate recycling for ArcIMS</a>
  4. Save and close the file.
  5. Stop and start the ArcIMS services.

    There is a specific sequence to follow when stopping and restarting the ArcIMS services (Windows) or processes (UNIX).


    Stop them in the following order:
    A) ArcIMS Tasker
    B) ArcIMS Monitor
    C) ArcIMS Application Server

    Start them in the opposite order you stopped them:
    A) ArcIMS Application Server
    B) ArcIMS Monitor
    C) ArcIMS Tasker

    For further information about the stop and start of ArcIMS services on Windows or Linux operating systems, see the articles listed in Related Information below.

Article ID:000005505

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic