Severity
P1 – Gateway host saturated at 99% CPU with 95% memory; service latency/unavailability imminent.
Root Cause
- Runaway process consuming CPU (identify via
top or ps aux)
- Memory pressure forcing swap/GC thrashing
Actions
- SSH to claw-gateway1; run
top -b -n 1 | head -20 and ps aux --sort=-%cpu | head -10 to identify top process.
- Kill or throttle non-critical process; if critical, scale horizontally (add replica).
- Check memory: if >95% and swapping, restart the affected service.
- Monitor CPU drop for 2 min; if no improvement, prepare for reboot.
- Reboot claw-gateway1 only if CPU remains >90% after 3 min.
Watch
- CPU trend (target: <80% within 5 min)
- Memory + swap usage (alert if either exceeds 90%)
Escalate If
CPU remains >85% after killing top process or reboot does not stabilize within 5 minutes.