Дмитрий
|
883908ea78
|
ops(incident): disk-recover workflow for liderra.ru / 100% full
ремонт: PG в PANIC loop из-за / 19G/19G/0, нужна целевая чистка логов чтобы PG смог записать checkpoint и завершить recovery
Diagnose + safe cleanup workflow:
- truncate /var/log/postgresql/postgresql-16-main.log (PG в PANIC, inode preserved)
- journalctl --vacuum-size=200M
- nginx old *.gz >3 days
- apt-get clean
- Laravel storage/logs *.log >7 days
- generic /var/log *.gz >50M
Triggered manually via gh workflow run disk-recover.yml -f confirm_apply=true
Guard: confirm_apply must be true.
|
2026-05-29 12:45:44 +03:00 |
|