Database Blocking and SQL Timeouts

This topic only applies to Secret Server On-Premises.

This topic is an entry point for diagnosing database blocking, lock waits, and SQL timeouts in Secret Server. It gathers the symptoms administrators and database administrators report most often and points to the topic that covers each one.

Symptoms

  • Queries time out after 30 to 60 seconds, and Secret Server pages or launchers fail or hang.
  • Prolonged lock waits appear in SQL Server, with a single wait type accounting for most of the blocking.
  • Connection or login timeouts occur when connecting through an Always On availability group listener.
  • Symptoms cluster at a fixed time of day, or coincide with a rise in request volume or with index maintenance.

Identify What Is Blocking

Start by finding which objects are accumulating lock waits. The query for this is in the Analyzing Blocking section of SQL Server Performance Improvement, which also covers snapshot isolation, the READ_UNCOMMITTED isolation mode, and the SLEEP_BPOOL_FLUSH wait type.

Common Causes

This topic routes to existing guidance and does not restate it. Where a symptom is not covered by the topics above, contact Technical Support.