LabHub
배우기 러닝패스 코스

nginx Incident Response

Quiz: 502, 504 and Error Log Signatures

LabHub 에서 이어서 보기

한국어 원문으로 표시합니다.

error.log 에 connect() failed (111: Connection refused) while connecting to upstream 이 찍히고 클라이언트는 502 를 받았다. 가장 효과가 없는 조치는?

504 두 건의 error.log 가 아래와 같다. 무엇이 다른가?

upstream timed out (110: Connection timed out) while connecting to upstreamupstream timed out (110: Connection timed out) while reading response header from upstream

/hang/ 블록에 proxy_read_timeout 30s; 를 넣었는데도 요청이 2 초 만에 504 로 끊긴다. 가장 그럴듯한 설명은?

헬스체크는 계속 정상인데 SSO 로 로그인한 일부 사용자만 502 를 받는다. error.log 에는 upstream sent too big header 가 있다. 원인은?

proxy_buffer_size 를 16k 로 올렸더니 nginx 가 "proxy_busy_buffers_size" must be less than the size of all "proxy_buffers" minus one buffer 로 기동을 거부한다. 무엇을 해야 하나?

액세스 로그에 413 ut=- rt=0.002 us=- "POST /upload HTTP/1.1" 이 남았다. 애플리케이션 로그를 뒤졌더니 이 요청이 없다. 어떻게 판단해야 하나?