CDN77 encountered customer complaints regarding slow download speeds from their edge servers. The issue was characterized by a sudden collapse in download speed for specific connections, which would persist for several hours before spontaneously recovering. No error codes were generated, and the problem was not consistently reproducible, making diagnosis difficult.
Initial troubleshooting explored common causes such as ISP issues, network problems, misconfigured kernel TCP settings (e.g., tcp_rmem, tcp_wmem, tcp_mem), or Nginx configuration issues like proxy buffering. Disk I/O, CPU/memory saturation, and kernel logs were also checked. However, all these avenues led to dead ends, as settings and resource usage were consistent with healthy servers, and the issue appeared across multiple regions.
A key observation was that the throttling only occurred during HTTP cache misses. While Nginx downloads were slow, direct curl commands executed on the affected server showed normal download speeds, indicating the problem was specific to Nginx's interaction with the kernel. Rebooting the server provided a temporary fix, but the issue would eventually reoccur, pointing to a persistent underlying mechanism.
This discovery highlights a complex interaction between the Linux kernel's TCP stack and Nginx's operation, particularly in CDN environments where cache misses trigger upstream fetches. The intermittent and self-recovering nature of the problem made it challenging to diagnose, suggesting a subtle kernel behavior that could impact other applications relying on similar network patterns.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
CDN77 identified a previously unknown TCP throttling issue within the Linux kernel that specifically affected Nginx downloads on cache misses. This issue caused download speeds to collapse for hours and then recover spontaneously, without clear external triggers. The problem was traced to how the kernel handled TCP connections under specific conditions, leading to performance degradation for some clients.