262 — ExceededTimeLimit

performancetimeout

The operation exceeded its internal time limit

What is happening?

ExceededTimeLimit is a server-internal timeout that fires when an operation exceeds an internally configured time bound. This is distinct from MaxTimeMSExpired (50), which is set by the client. ExceededTimeLimit is often seen with internal operations like index builds, migrations, or background tasks.

Common causes

  1. Background index build exceeding the time limit
  2. Internal replication or migration operation running too long
  3. Server under heavy load causing operations to stall
  4. Large collection scan during an internal maintenance operation

Source code references

ErrorCodes::ExceededTimeLimit found in 71 locations in the MongoDB server source.

Diagnostic Steps

Related Issues