macOS TCP Stack Breaks After Exactly 49.7 Days of Uptime Due to 32-bit Timestamp Overflow
DanielLockyer · x · 2026-11-17
The Photon team, while building an iMessage API for AI agents on Mac-backed systems, discovered that macOS machines running continuously for 49.7 days stop accepting new TCP connections — while ping and existing connections appear normal. They reproduced it on two machines and traced the root cause to XNU's handling of a 32-bit TCP timestamp counter wrapping around (2^32 ms ≈ 49.7 days).
Real-world symptoms vary: uploads larger than 4MB failing, and Claude sessions hanging seemingly at random. The fix is simply rebooting the machine. Their engineering blog walks through the discovery, reproduction, and the kernel code path behind the bug — a warning for anyone running long-lived Mac servers for agent infrastructure.
More from Fun
- AI safety scene is tightly bound to rationalist and "weird sex" worlds, insider says — cis_female · 2026-11-17
- Engineer runs Gemma 3 270M entirely inside an office laser printer at 60s per token — osanseviero · 2026-11-17
- Someone got DOOM running on a Nikon Z6 II and open-sourced a full Expeed 6 QEMU emulator — jedisct1 · 2026-11-17
- KNOW THYSELF: A documentary on what AI looks like from Athens, coming soon — realmeetjames · 2026-11-17
- GPT-4o generates pixel-art robot journaling sequence with smoothly shifting light — RileyRalmuto · 2026-11-17
- Songwriter finishes AI music video from hospital bed with Suno and Runway — Kyrannio · 2026-11-17