Menu

Nginx 504 Gateway Time-out, Kubernetes CrashLoopBackOff, and MySQL InnoDB Deadlocks: A Triage Cheatsheet
📰

Nginx 504 Gateway Time-out, Kubernetes CrashLoopBackOff, and MySQL InnoDB Deadlocks: A Triage Cheatsheet

DEV Community: kubernetes·Jason Y. (dev_in_the_fog)·9 days ago
#zQPxtmHG
#devtokubernetes#devto#dev#kubernetes#nginx
Long article (309 words) — no AI summary yet.
Reading 0:00
15s threshold

When on-call alerts fire at 2 AM, three infrastructure incidents account for a disproportionate share of wasted debugging time because the symptom hides the real bottleneck one layer below.

1. Nginx 504 Gateway Time-out

Nginx returns 504 when the upstream accepts the TCP connection but fails to send a response header before proxy_read_timeout (default 60s ) expires.

Raising proxy_read_timeout alone only masks slow DB queries or missing upstream keepalive pools.

Check whether upstream_response_time matches your timeout ceiling, and confirm proxy_connect_timeout vs proxy_read_timeout vs Kubernetes Ingress annotations ( nginx.ingress.kubernetes.io/proxy-read-timeout ).

Full tuning walkthrough: Nginx 504 Gateway Timeout & proxy_read_timeout Tuning and Ingress Nginx 504 Upstream Postmortem .

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.