PostgreSQL too many clients already 30초 판정 복구 런북
PostgreSQL 'FATAL: sorry, too many clients already' 에러를 30초 판정표로 원인(스파이크·누수·설정)부터 가르고, 복붙 SQL로 idle in transaction 종료·max_connections 튜닝·pgbouncer 도입까지 즉시 복구합니다.
7월 13일7분 읽기
docker compose depends_on이 DB를 안 기다릴 때 — healthcheck로 connection refused 해결
depends_on을 걸어도 앱이 connection refused로 죽나요? depends_on이 시작 순서만 보장하는 이유와 healthcheck + condition: service_healthy로 준비 완료까지 보장하는 법을 Postgres·MySQL·Redis·HTTP 복붙 예제로 정리했습니다.
6월 14일5분 읽기
PostgreSQL password authentication failed for user postgres 해결 5가지
PostgreSQL 'password authentication failed for user postgres' 에러를 오타·비밀번호 미설정·pg_hba.conf scram/md5 불일치·도커 네트워크까지 5가지 원인별 진단 순서로 해결합니다. psql·JDBC·Spring 복붙 명령 포함.
6월 13일4분 읽기
PostgreSQL 'too many clients already' 5분 진단부터 PgBouncer 해결까지
PostgreSQL 'too many clients already' 에러를 pg_stat_activity 진단 SQL과 pg_terminate_backend로 5분 안에 응급 복구하는 법, max_connections를 무작정 늘리면 안 되는 이유와 PgBouncer 커넥션 풀링 설정까지 단계별로 정리했습니다.
6월 12일5분 읽기