Archives
Every essay, tool teardown, and build note, newest first.
-

EADDRINUSE Errno 98: 12 Bind Conditions and the Fixed 60s Timer
Twelve bind conditions on one Linux host: errno 98 has one owner, SO_REUSEADDR must be set on that owner, and the TIME_WAIT timer is a fixed 60 s.
Read the article → -

BrokenPipeError Errno 32: 5 States, 1 Accepted Write, Exit 120
Across 10 peer states on one Linux host, 5 produced errno 32, one write went into a dead reader, and a pipeline exited 120.
Read the article → -

certificate verify failed: 7 OpenSSL Codes, 3 Alerts, and Fixes
On one Linux host with 10 test certificates, 7 client codes reached the server as 3 alerts, and a fix is configuration rather than another attempt.
Read the article → -

BlockingIOError Errno 11: 32,768 Bytes Stuck 2 s in a Shrunk Pair
A pair shrunk to 16 KiB after the handshake, with a peer that stops reading: one segment fills the buffer and a 1 KiB read frees nothing for 2 s.
Read the article → -

ConnectionResetError: 89% of a 1 MiB Reply Lost on Loopback at 20 ms
Linux loopback, a 1 MiB reply, a reader that starts 20 ms late: a close with the request unread lost 89% of the body – 112,960 bytes arrived.
Read the article → -

epoll Edge Triggered: 8 KiB Unread Leaves Replies 201 ms Late
One 4 KiB read per event leaves 8 KiB of a 12 KiB request unread, and the reply is 201 ms late; the same loop draining to EAGAIN answers in 0.09 ms.
Read the article → -

GIL Stalls: 1 ms Timers 5.9 ms Late at p50, 80–150 ms at p99
A 1 ms timer wakes 5.9 ms late at the median with two busy threads; its p99 spans 80–150 ms across sessions where child processes hold 1.1 ms.
Read the article → -

getaddrinfo Stalls: 56 ms Loop Freezes, 33 ms Search Paths, 6 Threads
One lookup costs 6.8 ms. Three search domains make an unqualified name 33 ms, eight blocking lookups freeze an event loop for 56 ms, and the executor behind getaddrinfo is 6 threads on a…
Read the article → -

Gunicorn Preload Memory: Reading Every Record Copies 86 MiB After Fork
Reading every record of a 105.5 MiB heap leaves 87.1 MiB private, 86.0 MiB of it copied (81.5% of the heap the records grew); 15 large objects add 92.0 KiB over idle, and each…
Read the article → -

SIGTERM Graceful Shutdown: Why In-Flight Requests Die on Deploy
A default SIGTERM ends the process in 0.90 ms and answers none of the 12 requests in flight. A drain that counts requests instead of connections served all 12 and exited in 435.6 ms;…
Read the article →