How To: Locate temporary files on ArcGIS for Server on Linux operating systems


On Linux operating systems, ArcGIS for Server generates temporary files which are not automatically removed by the software. If allowed to build up, these files may result in slow performance of geoprocessing tasks and other server functions. Clearing the files regularly helps avoid performance issues that temporary file buildup may cause.


Beginning with ArcGIS for Server 10.2.1, the default location for temporary files is located here:

<ArcGIS Server installation directory>/arcgis/server/temp

This is documented here: Setting environment variables for ArcGIS Server.

As described in the documentation linked above, this location may be changed at the end user's discretion.

  1. Browse to the location of the server's temporary files, as described in the code box above.
  2. Identify the size of the 'temp' directory using a chosen command. For example:

    du -sh <ArcGIS Server installation directory>/arcgis/server/temp

  3. If the reported size is large, delete the contents of the '/temp' folder.
    Optionally, use 'cron' to schedule the removal of files for a location.