Detects MTU blackholes where small packets pass but large ones vanish silently: probes with sized non-fragmenting pings to bisect the real path MTU, finds the offending hop, then fixes it with MSS clamping or a corrected interface MTU. Use when SSH hangs on large output, TLS handshakes stall, or VPNs pass only small p…
A step-by-step checklist for switching traffic from the blue environment to green safely: health-check and warm green, shift traffic gradually, watch error rates, and keep blue alive as instant rollback. Use when planning zero-downtime deploys, writing release runbooks, or letting an agent drive a deployment. Not for …
Explains the sudo 'unable to resolve host' warning and fixes it by adding the machine's hostname to the loopback entry in the hosts file. Use when sudo prints the warning on fresh VMs or containers, or when every sudo invocation feels slow. Not for sudo permission denied, 'user is not in the sudoers file', or general …
Avoids deploy-stalling table locks by splitting migrations into expand-then-contract steps, using concurrent index builds, and running heavy backfills outside the deploy. Use when ALTER TABLE blocks writes, deploys stall on migrations, or you need zero-downtime schema changes on Postgres or MySQL. Not for initial sche…
Shows how to diagnose a Linux box with sky-high load average and idle CPUs: find the processes stuck in uninterruptible sleep (D state) and fix the storage or NFS stall underneath. Use when top shows idle CPUs but load is high, logins are slow, or commands hang. Not for genuinely CPU-bound load, memory pressure, or zo…
Debugs DNS SERVFAIL responses for private or internal zones. Use when internal names resolve to SERVFAIL while public DNS works fine. Not for NXDOMAIN (name genuinely does not exist), public-zone DNS problems, or client-side resolver misconfiguration alone.
Recovers from NFS ESTALE (stale file handle) errors: lazy-unmount and remount the affected share, clear processes holding it, and check whether the server rebooted or its exports changed. Use when apps crash on NFS paths or mounts misbehave after server maintenance. Not for permission denied, connection refused to the…
Tunes the Linux kernel TCP memory budget after dmesg reports TCP out of memory: raises tcp_mem limits and adjusts per-socket buffers, then persists the values. Use when the kernel log shows TCP memory pressure on a busy server or connections start dropping under load. Not for application heap out-of-memory, the OOM ki…
Fixes ssh clients disconnected for offering too many keys before the right one. Use when ssh fails with this exact message, typically with an agent holding many keys. Not for wrong passwords, server-side account lockouts, or keys the server genuinely rejects.
Debugs publickey ssh failures in CI jobs, scripts, and other non-interactive automation. Use when an automated ssh step fails with permission denied (publickey) while interactive ssh may work. Not for password prompts in automation, host key verification failures, or network connectivity problems.
Explains the difference between curl exit code 28 (timeout) and 7 (failed to connect) so an agent or operator can tell a slow server from a dead one. Use when curl fails in scripts, CI, or health checks and you need to know whether to retry with a longer timeout or fix connectivity. Not for browser fetch errors, HTTP …
Fixes Postgres refusing connections because max_connections is exhausted. Use when clients get this exact FATAL error and the database is otherwise up. Not for authentication failures, the database being down, or connection errors from network or firewall issues.
Responds to Redis rejecting writes because memory exceeded maxmemory. Use when write commands fail with the OOM error and the instance is otherwise healthy. Not for Redis being down, replication or persistence failures, or read errors.
Fixes Redis refusing writes because background RDB saves are failing. Use when write commands return the MISCONF error. Not for AOF-specific failures, Redis being down, or replication problems.
Debugs Kafka clients failing with LEADER_NOT_AVAILABLE on produce or fetch. Use when the error names specific partitions and brokers are expected to be up. Not for authorization errors, unknown-topic errors, or consumer group rebalance problems.
Debugs Cloudflare 522 errors where the edge cannot reach the origin. Use when visitors see a 522 page and the origin server is expected to be up. Not for 522 caused by wrong DNS records pointing at nobody, Cloudflare-side outages, or origin application errors returning other status codes.
Stabilizes Kafka consumer groups stuck in constant rebalancing. Use when consumer logs show repeated rebalance events and consumption stalls. Not for one-off rebalances on deploy, broker-side partition leadership problems, or producer issues.
Debugs Envoy 503s caused by Envoy failing to reach the upstream cluster. Use when responses carry this message, typically with UF, URX, or UT response flags. Not for 503s from the upstream app itself, Envoy config dump or xDS delivery problems, or rate limiting.
Debugs ALB targets marked unhealthy because health checks return 502. Use when the target group health check detail names 502 as the failing code. Not for 502s served to real client traffic through the listener, target registration or networking problems, or 5xx codes other than 502.
Debugs ECS deployments that the circuit breaker rolled back. Use when service events show the circuit breaker triggered and the deployment is stuck or rolled back to the previous revision. Not for deployments blocked by minimum healthy percent settings, CodeDeploy blue-green issues, or services with the breaker disabl…
Debugs ECS tasks that stop because a container marked essential exited. Use when the stopped reason names an essential container exit. Not for tasks failing to start (image pull or resource errors), services failing to place tasks, or non-essential container exits.
Debugs KMS decrypt calls rejected with AccessDeniedException. Use when the caller, key, and kms:Decrypt action are known and the call fails on authorization. Not for KMS key disabled or pending-deletion states, grants and via-service issues are covered here but network or SDK config errors are not.
Fixes Kibana stuck on 'Kibana server is not ready yet' after an upgrade. Use when Kibana never reaches green; version mismatch with Elasticsearch, bad ES hosts or credentials, or a failed saved-object migration are the usual causes, all named in the startup log. Not for browser asset loading failures, login loops, or …
Fixes Alertmanager templates failing with 'function "query" not defined'. Use when a notification template calls query(); that function exists only in Prometheus rule templating, so the query must move into the alerting rule and its result passed via labels or annotations. Not for other undefined functions, rule evalu…
Fixes Datadog monitors stuck on "no data" right after tags were added, removed, or renamed. Use when a monitor that previously evaluated fine stops matching any series following a tag change. Not for monitors that never reported data, Datadog agent connectivity problems, metric ingestion delays, or monitors muted on p…