<?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 ArcSOC.exe processes terminate by firewall in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsoc-exe-processes-terminate-by-firewall/m-p/189753#M7557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have AGS 10.1 with map service accessing SQL Server database on a different machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The two machines have firewall between them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Occasionally the service's ARCSOC.exe loses its underlying connection to the SDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When it happened we get the following error in the sdedc_log: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SDE DBMS Error: 10054 Microsoft SQL Server Native Client: Communication link failure", followed by multiple "SDE DBMS Error: 0 Microsoft SQL Server Native Client: Communication link failure" errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've discovered that the firewall between these two machines terminates every connection which is idle for above two hours. Creating exceptions in the firewall in my organization is inacceptable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any attempt to write a "keep alive" which queries the service fails because the SQL Server Native client DLL randomizes a different client port for every query, therefore the firewall will treat some of the connections as idle and terminate them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doing a recycle every hour did not helped too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you think about any way to make the firewall understands that the connection should not be killed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will application connect helps? I understand it is not recommended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jan 2014 04:28:14 GMT</pubDate>
    <dc:creator>ModyBuchbinder</dc:creator>
    <dc:date>2014-01-13T04:28:14Z</dc:date>
    <item>
      <title>ArcSOC.exe processes terminate by firewall</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsoc-exe-processes-terminate-by-firewall/m-p/189753#M7557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have AGS 10.1 with map service accessing SQL Server database on a different machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The two machines have firewall between them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Occasionally the service's ARCSOC.exe loses its underlying connection to the SDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When it happened we get the following error in the sdedc_log: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"SDE DBMS Error: 10054 Microsoft SQL Server Native Client: Communication link failure", followed by multiple "SDE DBMS Error: 0 Microsoft SQL Server Native Client: Communication link failure" errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've discovered that the firewall between these two machines terminates every connection which is idle for above two hours. Creating exceptions in the firewall in my organization is inacceptable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any attempt to write a "keep alive" which queries the service fails because the SQL Server Native client DLL randomizes a different client port for every query, therefore the firewall will treat some of the connections as idle and terminate them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doing a recycle every hour did not helped too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you think about any way to make the firewall understands that the connection should not be killed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will application connect helps? I understand it is not recommended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mody&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 04:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsoc-exe-processes-terminate-by-firewall/m-p/189753#M7557</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2014-01-13T04:28:14Z</dc:date>
    </item>
  </channel>
</rss>

