Friday, 15 April 2016

arcgis server - How can I determine which service is associated with a particular ArcSOC.exe process and vice versa?


I've got a development arcgis server machine configured with multiple mapservices, gp services and SOE's. Sometimes an arcgissoc.exe process gets hung. There also seem to be too many SOC's running based on what I can see in ArcCatalog.


How can I figure out which ArcSOC.exe (process id) goes with which service in arccatalog?


I'm running 10.0.



Answer




If you enable Info:Simple logging (still applies at 10), process IDs get put in your server log. You can view the logs via server manager or you can go to C:\Program Files\ArcGIS\Server10.0\server\user\log and dig through the .dat file. Here's a excerpt from my dev machine:


Attempt to start configuration maps/stuff of type MapServer.
GraphicFeatureServer Construct started.
Default Map name is: Layers.
Layer Initialization Summary. Layers in Map: 2. Successful Initialization on: 2. Unsupported Layers count: 0. Failed Initialization on 0.
Initialized 2 Layer(s).
Initialized 0 Table(s).
GraphicFeatureServer Construct ended.
Construct started.
Construct ended.

Configuration maps/stuff.MapServer is started.

Process ID 9276 corresponds to the ArcSOC.exe for this map service.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...