WEBBOOK CHAPTER

웹서비스 트러블슈팅, 증거로 고치는 법: 27장. Resource Exhaustion

27장. Resource Exhaustion

CPU throttle, memory working set/OOM, disk bytes/inode, file descriptor, ephemeral port, thread/event loop, connection, queue를 본다. limit만 늘리면 leak의 시간을 늦출 수 있다.

rate of change와 exhaustion ETA를 alert한다. disk 90% 하나보다 증가 속도, WAL/binlog, log rotation, temp spill, deleted-open file을 본다. emergency cleanup은 증거와 복구 파일을 지우지 않게 승인한다.