Frequently asked question

Why does cached map data remain after deleting a cached map service?

Last Published: April 26, 2020

Answer

Cached map data remains after deleting a cached map service to minimize the time for rebuilding the cache. This is by design. Cached map services are stored in the display cache, which is a local disk cache that resides on the client computer. When a cached map service is removed, either from ArcCatalog or ArcGIS Server Manager, the data stored in the 'arcgisuploads' and 'arcgiscache' folders on the client machine are not removed. This must be done manually by deleting the respective files and folders in Windows Explorer.

Note:
Over time, the content in the display cache can become out of date with the server contents, which can consume a significant amount of disk space on the local computer.

Follow these instructions to delete the data in the 'arcgisuploads' and 'arcgiscache' folders:

1. The ArcGIS Server Windows Service, which enables the hosting of GIS Services, must be stopped before deleting the cached data.

a. Click the Windows Start button and type 'Services' into the Windows search bar, and click the Services icon.
[O-Image]

b. In the Services console, right-click the ArcGIS Server service and click Stop.
[O-Image]


Note:
In some instances, ArcGIS for Server places a .lock file to prevent the deletion of the cache folder. When the service is stopped, the lock files associated with the folder are deleted.


2. The arcgisuploads folder is used as temporary storage when publishing. The folder is located at the following path:

C:\arcgisserver\directories\arcgissystem\arcgisuploads\admin

Delete any temporary data no longer in use by the cached map service.

3. Cached map service data is stored locally in the arcgiscache folder. The folder is located at the following path:

C:\arcgisserver\directories\arcgiscache

The map service has the following syntax: mapservicename.mapserver. Select and delete the appropriate cached map service.

Article ID:000013238

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic