Severity
HIGH – claw-gateway1 memory exhausted (95%), CPU pinned at 99%; risk of service crash and cascading failures.
Root Cause
- Memory leak or runaway process accumulation in gateway service
- High CPU contention preventing garbage collection/memory reclaim
Actions
- SSH to claw-gateway1; run
ps aux --sort=-%mem and kill non-essential processes or memory hogs immediately.
- Check application logs for OOM errors or exceptions; restart claw-gateway service if leak confirmed.
- If memory remains >90% after step 2, trigger graceful restart:
systemctl restart claw-gateway (drain connections first if load-balancer allows).
- Verify memory drops below 80% and CPU returns to <50% within 2 min post-restart.
- Trigger on-call database/backend team if memory pressure returns within 10 min (indicates upstream issue).
Watch
- Memory usage on claw-gateway1 (target: <80%); alert if creeps back above 85% within 30 min.
- Error rate and latency on claw-gateway endpoints; spike indicates incomplete recovery.
Escalate If
Memory does not drop below 85% within 15 minutes of restart, or error rate spikes >5% during recovery.