MonitoringCritical Severity
Penanganan VPS Resource Exhaustion
Prosedur ketika VPS mencapai batas resource (CPU, RAM, disk) — identifikasi root cause dan langkah mitigasi.
Estimasi: 15 menit
9 Langkah
Automatable## Prosedur: Penanganan VPS Resource Exhaustion
### Langkah-langkah
**Step 1: Alert diterima**
Monitoring mendeteksi resource > 90%.
**Step 2: Identifikasi resource yang exhausted**
CPU? RAM? Disk? Network?
**Step 3: Cek top processes**
```bash
top -bn1 | head -20
```
**Step 4: Cek disk usage**
```bash
df -h
du -sh /* | sort -rh | head -10
```
**Step 5: Cleanup temporary files**
```bash
rm -rf /tmp/*
journalctl --vacuum-size=100M
```
**Step 6: Restart service yang bermasalah**
```bash
systemctl restart <service>
```
**Step 7: Scale up jika diperlukan**
Trigger autoscale atau manual upgrade.
**Step 8: Verify recovery**
Cek resource usage kembali normal.
**Step 9: Root cause analysis**
Dokumentasi penyebab dan preventive measures.
Runbook Ini Dapat Diotomatisasi
Hubungi support untuk mengimplementasikan automasi ini