File size: 2,331 Bytes
d086025
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# 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)