ArcGIS Server 10.7.1: What does the “Number of shared instances per machine” represent?

1407
7
Jump to solution
10-04-2019 10:30 PM
JamalNUMAN
Esteemed Contributor

ArcGIS Server 10.7.1: What does the “Number of shared instances per machine” represent?

 

For example, in the screenshot below, the “Number of shared instances per machine” is set to be 10. However, at particular time, as I checked the number of active ArcSoc, I found that they are 4 but NOT 10. Does this mean that the “Number of shared instances per machine” will never consume machine resources (RAM and CPU) unless requests (traffic) on services require using all the number of shared instances (10 in this case)?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
1 Solution

Accepted Solutions
MoginrajMohandas
New Contributor III

Hi Jamal NUMAN‌ That does not sound right and should not be the case. This setting basically controls a special System service in ArcGIS Server. Can you pls navigate to https://<YourServerURL>/admin/services/System/DynamicMappingHost.MapServer?f=pjson and check the values for "minInstancesPerNode" and "maxInstancesPerNode". The values should be 10 and 10 in your case. One possibility is that it was updated from the administrative endpoint and has different values for min and max. If they are the same, try stopping and restarting this specific service(DynamicMappingHost.MapServer).

View solution in original post

7 Replies
ThomasJones1
Esri Contributor

Hello Jamal,

The shared instances should always be running on each machine in your site. It's possible if you checked right away you might night not see the ArcSOC.exe immediately. As ArcGIS Server would take sometime to spin up the additional ArcSOC.exe after you update the shared instance pool settings.

You can run this follow command to count the number of ArcSOC.exe running on a machine.

tasklist | find "ArcSOC.exe" /c

Thanks,

Thomas.

JamalNUMAN
Esteemed Contributor

Thanks Thomas

In the screenshot below, the count of shared instances is 10 while the count of ArcSoc is 3

 

What could be the issue here?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
MoginrajMohandas
New Contributor III

Hi Jamal NUMAN‌ That does not sound right and should not be the case. This setting basically controls a special System service in ArcGIS Server. Can you pls navigate to https://<YourServerURL>/admin/services/System/DynamicMappingHost.MapServer?f=pjson and check the values for "minInstancesPerNode" and "maxInstancesPerNode". The values should be 10 and 10 in your case. One possibility is that it was updated from the administrative endpoint and has different values for min and max. If they are the same, try stopping and restarting this specific service(DynamicMappingHost.MapServer).

JamalNUMAN
Esteemed Contributor

Thanks Moginraj.

Right.... stop\start the service below resolves the issue

https://localhost:6443/arcgis/admin/services/System/DynamicMappingHost.MapServer

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
MoginrajMohandas
New Contributor III

Glad it was resolved. Curious as to how it got into that state. Any history on what kind of load was on the system, or any adminstrative actions being done. Basically, anything you can think of that was being done before the system got into this state? Any information would help.

JamalNUMAN
Esteemed Contributor

This issue occurred on a fresh test machine. Nothing specific has been implemented to the machine that might be thought as a reason for that state.

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
JamalNUMAN
Esteemed Contributor

But regarding the terminology, what is the difference between an instance and ArcSoc.exe? are they the same?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine