PROBLEM

Publishing a feature service with a volume of records to Portal for ArcGIS from ArcGIS Pro fails and consumes disk space

Last Published: February 18, 2022

Description

Attempting to publish a feature service with a volume of records to Portal for ArcGIS fails midway through the publishing process in ArcGIS Pro. In some cases, the progress bar loads indefinitely at varying stages of the publishing process.

Additionally, a significant amount of disk space is consumed in the ArcGIS Server content folder after the publishing process fails.

The directory of the folder is as follows:

C:\arcgisserver\directories\arcgissystem\arcgisinput\<service_name>\extracted\v101

Cause

  • Publishing a feature service with a large number of records can fail midway through the publishing process due to insufficient disk space. The relational data store is automatically placed in read-only mode if the disk space is less than 1024 MB.
  • If a data store is not setup and the 'Copy all data' option is selected when publishing a feature service, all the data from ArcGIS Pro is copied to the ArcGIS Server content directory. This action consumes large amounts of disk space.

Solution or Workaround

Depending on the cause, choose one of the following workarounds to resolve the issue.

Increase the disk space of the ArcGIS Data Store machine and change the data store mode to read-write

  1. Increase the disk space of the ArcGIS Data Store machine. For more information regarding required disk space, refer to ArcGIS Enterprise: Disk space requirements.
  2. Change the relational data store from read-only to read-write mode. Refer to the solution section of this article, Error: Failed to create new feature(s). General Function Failure [database error has occurred.] for more information.

Publish the features as a reference hosted feature service

Publish the features as a hosted feature service that references the data registered in the data source instead of copying all the data to ArcGIS Server. This significantly reduces publishing time and the disk space used to store the data in the ArcGIS Server content directory. Refer to ArcGIS Pro: Publish a map service for instructions and more information. Choose the Reference registered data option in Step 5 to register the data.

Article ID: 000027235

Software:
  • Portal for ArcGIS
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 7 x
  • ArcGIS Pro 2 x

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