<?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: Enterprise database connections dropping in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497839#M84982</link>
    <description>&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our office through standard geodatabase connection in pro.&lt;/P&gt;&lt;P&gt;If Idle it seems like 20 minutes tops.&lt;/P&gt;&lt;P&gt;I have had it drop while working in the database too. I'm not sure how long I was working in it when it happened.&lt;/P&gt;&lt;P&gt;I have the RAM/CPU Utilization up right now and will take a screen shot when disconnects.&amp;nbsp; I have attached is screen shot when I opened the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 19:17:34 GMT</pubDate>
    <dc:creator>Ona_Tim</dc:creator>
    <dc:date>2024-06-26T19:17:34Z</dc:date>
    <item>
      <title>Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497772#M84975</link>
      <description>&lt;P&gt;I'm not sure if this is the right forum but, I am having an issue with enterprise Database connections dropping to my computer. If I work with ArcPro on the server the connections do not drop. We also made a connection directly from my computer using pgAdmin and will not lose connection even when I loose it in Pro.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My system is as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;ArcGIS Enterprise 11.2 Single machine deployment. Server has 32GB of memory&lt;/LI&gt;&lt;LI&gt;ArcgisPro 3.3.0&lt;/LI&gt;&lt;LI&gt;Postgres 15.4 Downloaded from ESRI and on a separate server from enterprise. Server has 12 cores and 32GB of memory&lt;/LI&gt;&lt;LI&gt;Both servers are running Windows Server 2022 datacenter Version&amp;nbsp;21H2.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When the connection drops I get the following message:&lt;/P&gt;&lt;P&gt;Underlying DBMS error [no connection to the server::SQLSTATE=å] [**unspecified**.**unspecified**.GDB_Items][STATE_ID = 0]&lt;/P&gt;&lt;P&gt;X's replace actual names.&lt;/P&gt;&lt;P&gt;Working with ESRI we found the following information in the logs :&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;An existing connection was forcibly closed by the remote host&lt;/STRONG&gt;" where host is the PostgreSQL Server and "&lt;STRONG&gt;FATAL: terminating connection due to administrator command&lt;/STRONG&gt;". The following PostgreSQL documentation provides more information about the same (&lt;A href="https://urldefense.com/v3/__https:/www.postgresql.org/message-id/5665.1202148155*40sss.pgh.pa.us__;JQ!!CKZwjTOV!ynTEucv4RZeRFy0jb8ofk_Qs3LMS2aWNT8QSkc5n7RFIeJfgBOaUp0uAxwuQRhP0xWo5Yj51N2IcQ8R3mUaXZA$" target="_blank"&gt;https://www.postgresql.org/message-id/5665.1202148155%40sss.pgh.pa.us [postgresql.org]&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;At this time IT says it is not a fire wall issue as there are no rules setup for dropping connections. We are at a loss as to what the culprit is.&lt;/P&gt;&lt;P&gt;I will also be posting this in PostgreSQL community to get their input.&lt;/P&gt;&lt;P&gt;Thank you for your help with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 17:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497772#M84975</guid>
      <dc:creator>Ona_Tim</dc:creator>
      <dc:date>2024-06-26T17:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497781#M84977</link>
      <description>&lt;P&gt;How are you accessing the Postgres EGDB, via VPN or directly in your office?&lt;BR /&gt;&lt;BR /&gt;Does the timeout happen after a specific amount of time, like 15 or 30 minutes?&lt;BR /&gt;&lt;BR /&gt;Does it drop the connection when in the middle of interacting with data or after a period of "inactivity"?&lt;BR /&gt;&lt;BR /&gt;What are the resources on the Postgres VM reporting when the issue occurs? RAM / CPU utilization at that time?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 17:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497781#M84977</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-06-26T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497839#M84982</link>
      <description>&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our office through standard geodatabase connection in pro.&lt;/P&gt;&lt;P&gt;If Idle it seems like 20 minutes tops.&lt;/P&gt;&lt;P&gt;I have had it drop while working in the database too. I'm not sure how long I was working in it when it happened.&lt;/P&gt;&lt;P&gt;I have the RAM/CPU Utilization up right now and will take a screen shot when disconnects.&amp;nbsp; I have attached is screen shot when I opened the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 19:17:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497839#M84982</guid>
      <dc:creator>Ona_Tim</dc:creator>
      <dc:date>2024-06-26T19:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497848#M84983</link>
      <description>&lt;P&gt;Here is the screen shot after loosing connection.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 19:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497848#M84983</guid>
      <dc:creator>Ona_Tim</dc:creator>
      <dc:date>2024-06-26T19:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497865#M84986</link>
      <description>&lt;P&gt;Ok, thanks for those items it does not appear to be resource related.&lt;/P&gt;&lt;P&gt;I am wondering if the PostgreSQL DB is running out of available connections?&lt;/P&gt;&lt;P&gt;I cannot find what I am looking for in order to check the # connections allowed.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 20:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497865#M84986</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-06-26T20:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497868#M84987</link>
      <description>&lt;P&gt;Here are the logs from ESRI highlighting, in yellow, the issues. It seems the authentication for the password for the postgres user is failing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; I forgot to mention that we are not using the postgres user to connect to the GDB.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 20:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1497868#M84987</guid>
      <dc:creator>Ona_Tim</dc:creator>
      <dc:date>2024-06-26T20:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1500878#M85188</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have the same issue and was wondering if you were able to resolve it.&lt;BR /&gt;Any help to resolve the problem would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 11:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1500878#M85188</guid>
      <dc:creator>ISM</dc:creator>
      <dc:date>2024-07-03T11:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1500978#M85198</link>
      <description>&lt;P&gt;ISM, we have not yet found a solution to this.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 14:14:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1500978#M85198</guid>
      <dc:creator>Ona_Tim</dc:creator>
      <dc:date>2024-07-03T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1505166#M85527</link>
      <description>&lt;P&gt;I am having the same problems and I believe they are leading to ArcGIS Server crashing. I'm currently looking at the TCP Keepalive settings but haven't moved forward with any experimentation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.postgresql.org/docs/current/runtime-config-connection.html" target="_blank"&gt;https://www.postgresql.org/docs/current/runtime-config-connection.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 01:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1505166#M85527</guid>
      <dc:creator>BenjiMillard</dc:creator>
      <dc:date>2024-07-14T01:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1508204#M85836</link>
      <description>&lt;P&gt;My suspicions were confirmed about the Keep Alive settings of PostgreSQL. After PostgreSQL 14 there were changes made to the way that PostgreSQL connections were made and kept open that close connections in unexpected ways if you're used to the older versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some settings that should change in postgres.conf are:&lt;/P&gt;&lt;P&gt;tcp_keepalives_idle=120&lt;/P&gt;&lt;P&gt;tcp_keepalives_interval=20&lt;/P&gt;&lt;P&gt;tcp_keepalives_count=6&lt;/P&gt;&lt;P&gt;# 5 second interval in milliseconds&lt;/P&gt;&lt;P&gt;client_connection_check_interval=5000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my ArcGIS Server connection is no longer crashing regularly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 18:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1508204#M85836</guid>
      <dc:creator>BenjiMillard</dc:creator>
      <dc:date>2024-07-22T18:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1509244#M85930</link>
      <description>&lt;P&gt;Thank you Ben!&lt;/P&gt;&lt;P&gt;I tested it yesterday into to today and the connection has not dropped.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 13:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1509244#M85930</guid>
      <dc:creator>Ona_Tim</dc:creator>
      <dc:date>2024-07-24T13:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1509530#M85963</link>
      <description>&lt;P&gt;I'm happy to hear that. Glad it worked for you!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 19:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1509530#M85963</guid>
      <dc:creator>BenjiMillard</dc:creator>
      <dc:date>2024-07-24T19:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise database connections dropping</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1687155#M102115</link>
      <description>&lt;P&gt;Is this what you changed them to, or was this your default? I am currently experiencing the OP issue and my Keep Alive settings are as follows: idle=120, interval=30, count=9. The client_connection_check_interval=0 but &lt;A href="https://learn.microsoft.com/en-us/azure/postgresql/server-parameters/param-connections-authentication-tcp-settings?pivots=postgresql-14#client_connection_check_interval" target="_self"&gt;documentation&lt;/A&gt; lists it as default/read-only parameter. I'm thinking of lowering my keep alives interval and count numbers and seeing if that helps. I am using postgresql 14.19&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 22:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/enterprise-database-connections-dropping/m-p/1687155#M102115</guid>
      <dc:creator>eterra</dc:creator>
      <dc:date>2026-02-26T22:05:43Z</dc:date>
    </item>
  </channel>
</rss>

