Conghao97's picture tcftrees's picture
ProgramGen release
d086025
|
Raw History Blame Contribute Delete
2.33 kB

Runbook: Node Not Syncing

Severity: P2 Impact: Node cannot serve current data, may serve stale content On-Call Action: Investigate within 30 minutes

Symptoms

  • Node reports sync status as "syncing" for extended period (>5 min)
  • Block height not increasing
  • API returns stale data compared to other nodes
  • guts_consensus_block_height metric is stalled
  • Users report seeing old data

Detection

Alert Name: GutsNodeNotSyncing

Query:

Dashboard: Guts Node Overview → Sync Status panel

Diagnosis

Step 1: Check Sync Status

Expected output (healthy):

If issue present:

Step 2: Check Peer Connectivity

If fewer than 3 peers:

  • Check firewall rules (port 9000)
  • Verify bootstrap nodes are reachable
  • Check network connectivity

Step 3: Check Disk Space

If usage > 90%, see Disk Full Runbook

Step 4: Check Memory

If memory exhausted, see High Memory Runbook

Step 5: Check for Errors in Logs

Step 6: Compare with Other Nodes

If all nodes are at same height but not progressing, see Consensus Stuck

Step 7: Check Network Latency

High latency (>500ms) can cause sync issues.

Resolution

Option A: Restart Node (Try First)

Most sync issues resolve with a restart:

Option B: Force Peer Reconnection

If peers are stale:

Option C: Reset Sync State

If sync state is corrupted (preserves data):

Option D: Resync from Snapshot

For faster recovery with large data:

Option E: Full Resync from Network

Last resort - complete resync:

Escalation

If none of the above works after 1 hour:

  1. Collect diagnostics:

  2. Check if network-wide:

    • Are other nodes also stuck?
    • Is this a consensus issue?
  3. Contact core team:

    • Include: Node ID, diagnostic bundle, timeline
    • Join: #ops-emergency channel

Post-Incident

  • Verify node fully caught up
  • Check for any data inconsistencies
  • Monitor for recurrence (next 24 hours)
  • Update monitoring thresholds if alert was too sensitive
  • Document root cause in incident report

Related Runbooks