如何确定与特定ArcSOC.exe进程关联的服务,反之亦然?


10

我有一个配置有多个mapservices,gp服务和SOE的开发arcgis服务器计算机。有时会挂起arcgissoc.exe进程。根据我在ArcCatalog中看到的内容,似乎还有太多的SOC正在运行。

如何确定arccatalog中哪个ArcSOC.exe(进程ID)与哪个服务一起使用?

我正在运行10.0。


我认为“奖励” ArcSOC流程是SOM的工作人员,因此您将始终拥有与正在运行的任务无关的其他功能。
mwalker 2010年

Answers:


6

如果启用Info:Simple日志记录(仍然适用于10),则将进程ID放入服务器日志中。您可以通过服务器管理器查看日志,也可以转到C:\ Program Files \ ArcGIS \ Server10.0 \ server \ user \ log并浏览.dat文件。这是我的开发机器的摘录:

<Msg time='2010-12-01T12:18:43' type='INFO1' code='3007' target='Server' thread='5960'>Attempt to start configuration maps/stuff of type MapServer.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='17004' target='maps/stuff.MapServer' methodName='GraphicFeatureServer.Construct' machine='blahblah' process='9276' thread='4168'>GraphicFeatureServer Construct started.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='17002' target='maps/stuff.MapServer' methodName='GraphicFeatureServer.Construct' machine='blahblah' process='9276' thread='4168'>Default Map name is: Layers.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='17002' target='maps/stuff.MapServer' methodName='GraphicFeatureServer.InitializeLayers' machine='blahblah' process='9276' thread='4168'>Layer Initialization Summary. Layers in Map: 2. Successful Initialization on: 2. Unsupported Layers count: 0. Failed Initialization on 0.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='17002' target='maps/stuff.MapServer' methodName='GraphicFeatureServer.Construct' machine='blahblah' process='9276' thread='4168'>Initialized 2 Layer(s).</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='17002' target='maps/stuff.MapServer' methodName='GraphicFeatureServer.Construct' machine='blahblah' process='9276' thread='4168'>Initialized 0 Table(s).</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='17006' target='maps/stuff.MapServer' methodName='GraphicFeatureServer.Construct' machine='blahblah' process='9276' thread='4168' elapsed='0.01660'>GraphicFeatureServer Construct ended.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='12002' target='maps/stuff.MapServer' methodName='KmlServer.Construct' machine='blahblah' process='9276' thread='4168'>Construct started.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='12003' target='maps/stuff.MapServer' methodName='KmlServer.Construct' machine='blahblah' process='9276' thread='4168'>Construct ended.</Msg>
<Msg time='2010-12-01T12:18:44' type='INFO1' code='3013' target='maps/stuff.MapServer' thread='5960'>Configuration maps/stuff.MapServer is started.</Msg>

进程ID 9276对应于此地图服务的ArcSOC.exe。


2
谢谢!如果有一个UI可以在调试期间进行监视,那肯定会很好。
柯克·库肯达尔

很高兴知道,并且顺便说一句,这也适用于9.3.1。
乍得·库珀2010年

我想知道是否可以安全地假设日志中未列出arcsoc.exe的pid,那么它是可以安全地被杀死的孤儿。
Kirk Kuykendall '12

@Kirk:也许吧,但是您需要检查所有日志文件...日志文件达到特定大小后将翻转。
Derek Swingley 2010年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.