Deadlock and livelock

Coordination FailuresCollective structureAlso known as circular wait, gridlock, revert wars

Parties each hold something the next needs and wait (deadlock), or keep acting in response to each other without progress (livelock).

What sets it up

  • Unallocated shared resource (the primary one). Several parties draw on a rival or depletable resource, and there is no enforced allocation rule, property right or arbiter. [v2.1] The allocation rule can also be the problem in three ways: - it sets no order for acquiring shared resources (deadlock); - it has no priority rule for resources held across priority levels (priority inversion); - it rewards whoever acts first (sequential service in bank runs; early offers in matching markets).
  • Authority–task boundary mismatch. Decision rights are partitioned differently from the task's interdependencies: whoever must act lacks authority, or whoever holds authority is not coupled to the task.
  • State and mode opacity. An agent's internal state (automation mode, a partner's control inputs, commitment status, configuration, private beliefs) cannot be observed by the partner who must coordinate with it. [v2.1] This includes differential observability, where a monitor's view of a component differs from its clients' view ("gray failure"; Huang et al. 2017).
  • Precedence ambiguity. Two or more legitimate governing rules apply to the same decision, and no enforced meta-rule says which prevails. The rules may be: - objectives (safety vs revenue); - authorities of different kinds (an automated protocol vs a human controller); - resolution mechanisms (price vs a fairness norm, code vs community consensus, a statutory deadline vs a recount standard).

What sets it off

Contention for shared resources.

What you see

Everything waits; or everyone is busy and nothing changes.

How it plays out

  • Tempo: Seconds (machines) to months (sign-off loops)
  • Reversibility: Reversible by breaking the cycle
  • Propagation: Bounded

Where it shows up

  • Engineered machine systems under one design authority: database and lock deadlocks
  • Intra-organizational (human–human): circular sign-off requirements
  • Ungoverned algorithmic and protocol networks: bots reverting each other
  • Inter-organizational and multi-principal: gridlocked traffic or exchange

Cases that show it

Evidence grade A means a primary investigative or regulatory source, checked for the catalog; B, an authoritative secondary source (peer-reviewed analysis, a court record, reputable reporting), checked; C, an established record, not re-checked; and T, theory or literature, with no single incident.

How established it is

Est. (Coffman et al. 1971)

Est. means established in the literature, with the field or author named; Syn., a proposed synthesis; and Prov., derived from theory, with no documented case in the set yet.

Open it in the explorerCoordination Failures, at this pattern

Back to Coordination Failures