Select to view content in your preferred language

Understanding ArcGIS Server arcgisoutput Directory

1012
2
Jump to solution
01-18-2024 09:47 PM
cle444
by
Regular Contributor

Hi all,

We are trying to understand the content creation process of the arcgisoutput directory and its maintenance mechanism.

Environment: 
Multi-machine Enteprise 10.9.1 deployment. Standard server directories arrangement like below. ArcGIS server account has full permissions to all directories.
cle444_0-1705639871579.png

We discovered a massive amount of SD files and empty folders in the arcgisoutput directory. Files are dated from Day 1 of the system till today. They have a GUID-like name, NOT the publishing job ID, the hosted feature layer portal item ID, or the SD portal item ID (SD files stored on the Portal content directory). Deleting them manually doesn't seem to affect anything based on testing hosted feature services only.

We are expecting the directory to be ArcGIS system maintained. After research, it seems not the case.

From official info https://enterprise.arcgis.com/en/server/10.9.1/administer/windows/about-server-directories.htm

cle444_2-1705640323372.png
cle444_3-1705640350567.png

Admin can manually clean the directory using admin REST API https://developers.arcgis.com/rest/enterprise-administration/server/cleandirectory.htm

cle444_4-1705640446717.png

There are other discussions like the thread https://community.esri.com/t5/arcgis-enterprise-questions/deleting-arcgisoutput-sd-files/td-p/133708... However, they didn't discuss how and why it happened.

Questions:
1. What is the Purpose of those SD files, and how are they created?
2. What is the Purpose of those empty folders, and how are they created?
2. Are they supposed to stay in this 'temporary' arcgisoutput directory permanently?
3. If not, what is the best practice for maintaining this arcgisoutput directory?

It would be great to learn a bit more insight that the official doc doesn't cover.

Thanks.

-Hua

 

0 Kudos
1 Solution

Accepted Solutions
KaitlynStevens
Esri Contributor
2 Replies
KaitlynStevens
Esri Contributor

Hi @cle444, have you seen the following defect? Please note that this affects 10.9.1 as well - https://support.esri.com/en-us/bug/service-definition-remains-in-the-arcgisserver-output-f-bug-00013...

cle444
by
Regular Contributor

Thanks. That explains everything. 

0 Kudos