# 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](disk-full.md) ### Step 4: Check Memory If memory exhausted, see [High Memory Runbook](high-memory.md) ### 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](consensus-stuck.md) ### 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 - [Consensus Stuck](consensus-stuck.md) - [Network Partition](network-partition.md) - [High Memory](high-memory.md) - [Disk Full](disk-full.md)