<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcSOCs Exceed Max Instance Setting in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35797#M1306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool. You can also add Commandline to that command to get info on which service the ArcSOC is tied to.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;wmic process where name="ArcSOC.exe" get name,processid,creationdate,Commandline&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2018 12:41:43 GMT</pubDate>
    <dc:creator>MatthewLofgren</dc:creator>
    <dc:date>2018-05-24T12:41:43Z</dc:date>
    <item>
      <title>ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35789#M1298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone ever had a problem where the number of ArcSOC processes running per service exceed the max number of instances set for the service. For example, I have the max number of instances for a map service set at four, but when I look in task manager, I may see there are 10 ArcSOC processes associated with the service. When that sort of growth occurs across the 20 or so services I have published, the server eventually runs out of memory and services become unavailable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oddly, this has started happening on two production servers almost simultaneously. The servers ran with little to no issue all of 2017, but we've had 14 incidents spread across these two servers since the end of January. To make things more fun, the servers are somewhat different. Server #1 is Windows 2008 running ArcGIS Server 10.2.2. Server #2 is Windows 2012 running ArcGIS Server 10.3.1. Both are single machine sites. We run all services in high isolation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried a number of things on both servers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Adding additional ArcGIS-specific folder exclusions our anti-virus&lt;/P&gt;&lt;P&gt;2. Making ArcSOC a trusted process in anti-virus&lt;/P&gt;&lt;P&gt;3. Making pkill a trusted process in anti-virus&lt;/P&gt;&lt;P&gt;4. Running the configure ArcGIS Server account utility&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No help there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some other odd things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I can't run pkill manually on either server unless I add the ArcGIS Server account to the admin group&lt;/P&gt;&lt;P&gt;2. Ending the extra ArcSOC processes from task manager has a cascading effect. If I end one, 10 more could die off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the record, I have engaged Esri support on this issue. Progress has just been slow, so I wanted to put this out there in case is resonates with anyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any info!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 15:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35789#M1298</guid>
      <dc:creator>MattFancher1</dc:creator>
      <dc:date>2018-04-13T15:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35790#M1299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt - from what I understand if you only have the mapping capability setup on a service, it is not possible for the service to exceed the maximum number of socs you have set.&amp;nbsp; &amp;nbsp;But if a service also has feature access capability, then you could have 4 soc instances for the mapping capability and 4 soc instances for the feature access capability, or 8 socs.&amp;nbsp; That could vary more depending on what capabilities you have set for a service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 15:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35790#M1299</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2018-04-13T15:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35791#M1300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David. Thanks for the reply! We do have a few services with feature access enabled, but most just have mapping and maybe WMS enabled. But even if enabling WMS doubles the number of ArcSOCs created, I don't think the math works out. For example, I have a map service with WMS enabled and max instances set at two. If enabling WMS doubled the number of ArcSOCs created, I'd be at a maximum of four. But during the last incident on the server there were 12 ArcSOCs for the service. Restarting the ArcGIS Service service brought the number of ArcSOCs back in line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 15:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35791#M1300</guid>
      <dc:creator>MattFancher1</dc:creator>
      <dc:date>2018-04-13T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35792#M1301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case sometimes the soc instances become hung, that happened a lot on the older ArcServer versions, especially after Windows security updates - at least for us.&amp;nbsp; Hard to say for you since your running in a mixed environment.&amp;nbsp; Hasn't happened to us since we moved to 10.4.x on Windows Server 2008 r2 (production) or at 10.5.1 on Windows Server 2012 (dev).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35792#M1301</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2018-04-13T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35793#M1302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah we suspected a Windows patch or security update could be the issue, and it may well be. However we started having problems more than a month after our previous round of patches, and these servers see a moderate to heavy daily load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35793#M1302</guid>
      <dc:creator>MattFancher1</dc:creator>
      <dc:date>2018-04-13T16:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35794#M1303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt, ¿no tienes ningún ERROR&amp;nbsp;en el log de ArcGis server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 16:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35794#M1303</guid>
      <dc:creator>AnibalMmartinez</dc:creator>
      <dc:date>2018-05-23T16:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35795#M1304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have experienced this as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windows 2012R2&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS 10.4.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple times have I had low memory warnings only to find a lot of instances of service in task manager. I shut the service off and a few of the ARCSOCS (tied to that service) go away, but many are left behind. I just end the processes in task manager, turn the service back on and schedule a reboot for that night.&lt;/P&gt;&lt;P&gt;I first noticed this this past December. It has happened at least 5 or 6 times since.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 20:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35795#M1304</guid>
      <dc:creator>MatthewLofgren</dc:creator>
      <dc:date>2018-05-23T20:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35796#M1305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since my first post I found that ArcGIS Server seems to lose track of some ArcSOC processes. I periodically check by running the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wmic process where name="ArcSOC.exe" get name,processid,creationdate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That produces a list of running ArcSOC processes with the date/time they started. For me running that typically finds a couple ArcSOCs from previous days. All our services use the default setting to recycle at midnight, so I really shouldn't have any ArcSOCs from previous days. If I use task manager to kill the old ones, then the server stays stable. If the server gets into a low memory condition, I've found killing off the old processes produces the "cascading effect" I mentioned in my first post. It's not a good solution, but it's keeping our servers from crashing until we can either figure out the root cause or rebuild the servers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 12:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35796#M1305</guid>
      <dc:creator>MattFancher1</dc:creator>
      <dc:date>2018-05-24T12:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35797#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool. You can also add Commandline to that command to get info on which service the ArcSOC is tied to.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;wmic process where name="ArcSOC.exe" get name,processid,creationdate,Commandline&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 12:41:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35797#M1306</guid>
      <dc:creator>MatthewLofgren</dc:creator>
      <dc:date>2018-05-24T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35798#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep in mind that when you set max instances, it's max instances per ArcGIS Server machine in your site. So if you have a 3 machine site, and a service is set to 4 instances, it's possible to have 12 total instances running for that service. This doesn't take into account clustering (where you could assign service workers to specific machine instances), which is deprecated in ArcGIS Server&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 14:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35798#M1307</guid>
      <dc:creator>RandallWilliams</dc:creator>
      <dc:date>2018-05-24T14:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35799#M1308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case this is a single machine site and I don't use clustering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 14:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35799#M1308</guid>
      <dc:creator>MattFancher1</dc:creator>
      <dc:date>2018-05-24T14:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSOCs Exceed Max Instance Setting</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35800#M1309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have the same problem after a windowsupdate with a mapservice (ArcGIS Server 10.6.1). Have you found a reason for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2020 14:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsocs-exceed-max-instance-setting/m-p/35800#M1309</guid>
      <dc:creator>EnricoWenzlawe1</dc:creator>
      <dc:date>2020-11-10T14:34:09Z</dc:date>
    </item>
  </channel>
</rss>

