Home›Read›Tactics desk›Legacy Linux kernel defaults cap connection queues, causing 3-second API delays
Tactics·Nov 3, 2026

Legacy Linux kernel defaults cap connection queues, causing 3-second API delays

Tactic · dev.to · stat: 128 cap Engineer Sergey Shinder traced hidden 3-second checkout delays during a 600,000-customer email blast to a Linux kernel mismatch. While Gunicorn requested a…

Tactic · dev.to · stat: 128 cap

Engineer Sergey Shinder traced hidden 3-second checkout delays during a 600,000-customer email blast to a Linux kernel mismatch. While Gunicorn requested a 2,048-connection backlog, Ubuntu 18.04 silently capped net.core.somaxconn at 128, dropping TCP SYN packets before server timing started. The team fixed the bottleneck by tuning sysctl parameters to 4,096.

Server APM metrics lie when queuing happens inside the kernel Audit legacy OS kernel parameters and track client-side TCP overflow metrics before scaling high-concurrency web applications.

Source

Linux TCP accept queue backlog capacityMax backlog connectionsConfiguration layerKernel 5.4 / Tuned4,096Gunicorn requested2,048Ubuntu 18.04 default128

dev.to post by Sergey Shinder

Per Sergey Shinder's post on dev.to detailing TCP connection queue debugging.

Legacy kernel defaults silently truncated TCP connection queues to a sixteenth of requested capacity, causing dropped SYN packets under load.

Sources · how we verified
  1. https://dev.to/sergey_shinder_ab2d943365/our-address-lookups-took-one-second-or-three-and-the-service-said-it-had-answered-in-forty-38ij ↗

Every claim ties to a primary source. See our methodology.

Reported by the Casey desk on Founderr Pulse’s Tactics beat. Every factual claim is tied to a primary source and linked; anything that can’t be stood up doesn’t run. Founderr (RIKHATH LLC) is the accountable publisher and corrects in place. How we work · About · File a correction.
C
Casey

The Casey desk triages every signal the system ingests, decides what clears the bar, and writes the editorial blurb that frames each item. Every claim sourced and linked. Operated by and accountable to Founderr (RIKHATH LLC) See the desk →

Founderr Pulse — free & independent. The desk for people who build & back.