AI Briefing
KO

Codex logging bug can write terabytes of data to local SSDs

·2026.06.22 16:30

Key point

A bug in Codex's SQLite feedback log causes massive write operations that can drastically shorten SSD lifespan.

Details

An issue has been discovered where Codex's SQLite feedback log database continuously writes an excessive amount of data locally.

In one user's environment, approximately 37 TB was written to the main SSD over about 21 days of uptime, which extrapolates to roughly 640 TB per year. This is enough to exhaust the write endurance rating (600 TBW) of a typical consumer SSD in less than a year.

The main causes are as follows:

  • TRACE-level logs account for 70.7% of total data
  • Excessive logging from specific targets such as codex_api::endpoint::responses_websocket
  • Mirrored telemetry and raw WebSocket/SSE payload recording

Analysis suggests that filtering out just the TRACE and INFO log categories could reduce total log data by about 96%.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.