Setting connections to the ArcIMS Application Server expand/collapse all
Related Topics

AppServer.properties reference

expand/collapse item About ArcIMS Application Server connection settings

The ArcIMS Application Server is a process that can handle many incoming requests at the same time. Each request is handled by its own connection to the Application Server. You can set the minimum and maximum number of connections allowed in the Application Server property file, AppServer.properties.

The following properties can be set:

minConnections=20
The minimum number of connections open and active for connectors to connect to the ArcIMS Application Server. If more connections are required at run time, the ArcIMS Application Server will increase connections as required.

maxConnections=2000
The maximum number of connections that can be used by connectors to connect to the Application Server. Once this limit is reached, requests for further connections are refused until previous connections are freed up.

connectionQueueSize=500
The port that the Application Server uses (port 5300 by default) can also queue up requests. Requests in this queue are held until an Application Server connection becomes available.

The maximum number of requests that can be queued is the sum of connections for maxConnections and connectionQueueSize.

In general, you should not need to change any of these parameters. However, one benefit of having connection limits that you can set is to help control denial of service attacks where a site is flooded with requests. Once the maximum number of connections is reached, incoming requests are refused until connections are freed up.

expand/collapse item How to set Application Server connection values

expand/collapse item Changing the Application Server connection values

  1. In a text editor, open AppServer.properties.

    Windows: <ArcGIS Installation Directory>\ArcIMS\AppServer
    UNIX and Linux: $AIMSHOME/Middleware/Application_Server

  2. Find the connectionQueueSize property. Change the value to the desired value. The default value is 500 connections.
  3. Find the minConnections property. Change the value to the desired value. The default value is 20 connections.
  4. Find the maxConnections property. Change the value to the desired value. The default value is 2000 connections.
  5. Save and close the file.
  6. Restart ArcIMS Monitor and ArcIMS Application Server.


Search code: @stability_connections