User Tools

Site Tools


Cache Tiles job from Linux

TOKEN=`curl -X POST -d username=$USER -d password=$PASSWORD $HOST/tokens/generateToken`

curl "$HOST/rest/services/System/CachingControllers/GPServer/Manage%20Map%20Cache%20Tiles/submitJob?service_url=$LAYER:MapServer&constraining_extent=$EXTENT&levels=$LEVELS&thread_count=2&update_mode=RECREATE_ALL_TILES&f=json&token=$TOKEN"

ArcGIS Server Enterprise for Linux 10.x

Machine config

rm -rf /opt/arcgis/server/temp/*

Directory structure

Important places

Path Description
/server/bin main binaries
/server/bin/wine Wine 1.4
/server/framework/etc/service.log log
/server/framework/etc/service_error.log error log
/server/framework/etc/scripts may contain some error dumps
/server/framework/runtime/.wine/drive_c/windows/temp temporary files
/server/framework/runtime/jre Java Runtime
/server/framework/runtime/tomcat Apache Tomcat
/server/geronimo Apache Geronimo
/server/usr/logs Machine logs
/server/usr/config-store JSON configs

/server/usr/directories - user directories if not placed somewhere else

Path Description
/server/usr/directories/arcgiscache/service stored tiles
/server/usr/directories/arcgissystem/arcgisinput/service.MapServer service folder
/server/usr/directories/arcgissystem/arcgisinput/service.MapServer/extracted/cd SHP (data)
/server/usr/directories/arcgissystem/arcgisinput/service.MapServer/extracted/v101 GDB (data) + MSD + MXD

Set correct permissions when you are copy files from other sources.

Site Administration


default login “siteadmin”

Server Administration


default login “siteadmin”

REST Catalog


Set heap under ArcGIS Server for Linux

Web server maximum heap size (in MB): -1 (Default APACHE TOMCAT HEAP SIZE)
App server maximum heap size (in MB): 256 (Default APACHE GERONIMO HEAP SIZE)
SOC maximum heap size (in MB): 64 (Default Server Object Container x number of threads)


Copy tiles from actual directory to another VPS

scp -r /opt/arcgis/server/usr/directories/arcgiscache/giscr/Layers/_alllayers/*

Change Permission for my REST Service

find . -type f -name '*' -exec chmod 644 {} \;
find . -type d -name '*' -exec chmod 755 {} \;

DB Connectivity

Service properties → Specify Health Check Settings → Periodically check and repair data connections for idle instances
If your router or firewall closing persistent DB connection you can configure repair here.

Established connection (without data transfer in idle)
Linux default: 5 days
Average router / firewall: 30 minutes

arcgisserver.txt · Last modified: 2022/05/24 09:33 by Jan Forman