PROBLEM

Accessing a service increases ArcGIS CPU usage to 100%

Last Published: August 30, 2021

Description

When attempting to access a service in ArcGIS Server, the operation may fail. ArcGIS Server CPU usage increases to 100%, and the ArcGIS Server machine may fail intermittently. The log files display the following error messages:

Error:   
32905 - <Msg time="date_time" type="INFO" code="9029" source="Rest" process="20788" thread="1" methodName="" machine="machine_name" user="" elapsed="" requestID="request_ID">Request user: username, Service: Hosted/service_name/FeatureServer</Msg>
32954 - <Msg time="date_time" type="WARNING" code="9003" source="Rest" process="20788" thread="1" methodName="" machine="machine_name" user="" elapsed="" requestID="request_ID">Unable to process request. Java heap space</Msg>

The error message preceding the Java heap space error notifies the user which service is causing the performance issue in ArcGIS Server.

Cause

The Java heap size for the service is not large enough. The heap size setting controls the maximum file size a client can provide, and a service with a small heap size may not be able to handle large requests, causing performance issues within ArcGIS Server.

Solution or Workaround

  1. Republish the affected service to ArcGIS Server. For more information on publishing services, refer to ArcGIS Server: Approaches to publishing services.
  2. Increase the Java heap size for the republished service. For steps, refer to ArcGIS Server: Heap size.
  3. Increase the upload size setting to allow large uploads for the service. For steps, refer to ArcGIS Server: Upload size.

Article ID:000026012

Software:
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options