HOW TO
ArcGIS Server fulfills web requests for services through ArcSOC processes running on the ArcGIS Server machine. Each ArcSOC process is used to fulfill an individual web request that is sent to the ArcGIS Server machine. ArcSOC processes are referred to as instances when configured in ArcGIS Server Manager.
It can be helpful to monitor how many ArcSOCs are running for a particular service as well as how much memory each ArcSOC process is using. This is especially important when working to tune the number of ArcSOCs running for each ArcGIS Server service. This article demonstrates a workflow in Windows and Linux environments to determine how much CPU and memory is allocated to a particular ArcSOC process.





pgrep -f arcsoc | LANG=C xargs ps -f --sort stime -o user,pid,ppid,stat,%cpu,%mem,stime,etime,bsdtime,cmd | sed -e "s/\/opt.*-Dservice=//" | sed -e 's/--add-opens.*//'

Article ID: 000041333
Get help from ArcGIS experts
Start chatting now