Scoopfeeds — Intelligent news, curated.
computer-science

Codex logging bug may write TBs to local SSDs

Hacker News · Jun 22, 2026, 7:30 AM

Key takeaways

  • Process/file-level checks show Codex SQLite logs are the main continuous writer.
  • On a 1 TB SSD, that is about 640 full-drive writes per year.
  • The top sources are mostly global TRACE logs, mirrored telemetry logs, and raw websocket/SSE payload logging.

Process/file-level checks show Codex SQLite logs are the main continuous writer.

That extrapolates to roughly 640 TB/year. On a 1 TB SSD, that is about 640 full-drive writes per year. Some consumer SSDs are rated around 600 TBW, so this could consume roughly a full drive's warranted write endurance in less than a year.

The top sources are mostly global TRACE logs, mirrored telemetry logs, and raw websocket/SSE payload logging. TRACE alone is about 70.7% of retained bytes. codex_otel.log_only + codex_otel.trace_safe add another 25.3%. Filtering these categories should remove roughly 96% of retained log bytes in this sample without fully disabling feedback logs.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop