laptop and a wrench

Bug

Connections terminated from the backend results in orphaned connections in ArcMap, ArcCatalog, ArcGIS Pro and the sde_process_information table in PostgreSQL.

Last Published: September 8, 2020 ArcSDE/Enterprise Geodatabase
Bug ID Number BUG-000132349
SubmittedJuly 17, 2020
Last ModifiedJanuary 12, 2026
Applies toArcSDE/Enterprise Geodatabase
Version found10.7.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusDuplicate

Additional Information

Duplicate of BUG-000172096.

Workaround

The pg_terminate_backend command should kill the connections automatically. However, to manually remove the connections and the locks from sde, use the following:

  1. Query the sde_process_information table: select * from sde_process_information.
  2. Note the orphaned connection “sde_id” value.
  3. Run the following queries:
  • Remove the connection from SDE: delete from sde_process_information where sde_id = ‘<sde_id>’
  • Remove any orphaned state locks: delete from SDE_state_locks where sde_id = ‘<sde_id>';
  • Remove any orphaned table locks: delete from SDE_table_locks where sde_id = '<sde_id>';
  • Remove any orphaned object locks: delete from SDE_object_locks where sde_id = '<sde_id>';
  • Remove any orphaned layer locks: delete from SDE_layer_locks where sde_id = ‘<sde_id>’;

Steps to Reproduce

Bug ID: BUG-000132349

Software:

  • ArcSDE/Enterprise Geodatabase

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options