ProBackend
ai ai chip competitors
1 hour ago5 min read

OpenAI's Logging Glitch Causes Unexpected SSD Wear for Codex Users

OpenAI is taking steps to resolve a bug in its Codex platform that causes excessive SQLite logging, leading to unnecessary write cycles on solid-state drives and potentially reducing their total endurance.

Silicon Abuse in the Code Editor

Software developers are killing their hardware and paying for the privilege. Recently, members of the AI coding community noticed their solid-state drives were running hot and dying young. The culprit? OpenAI’s Codex CLI agent. Due to an incredibly sloppy logging implementation, Codex has been bombard-feeding SSDs with millions of needless write operations, burning drive endurance and costing users real money in the process.

The issue came to light in a GitHub bug report (issue #28224) titled "Codex SQLite feedback logs can write ~640 TB/year and rapidly consume SSD endurance." The developer who opened it, Rui Fan, an Apache Flink PMC member, noticed that after just 21 days of uptime, his primary SSD had written a massive 37 terabytes of data. When he ran file-level diagnostics, the results were clear: local SQLite database logs generated by OpenAI Codex were the main continuous writer.

Let that sink in. 37 terabytes in three weeks. Extrapolated out, that is roughly 640 TB a year. If you run a standard 1 TB NVMe SSD, this single bug will burn through your drive's entire manufacturer-warranted lifespan in less than twelve months. As a hardware architect, watching high-level software tools treat physical silicon with such reckless disregard makes me shudder. It is a symptom of a deeper industry malaise where software developers treat physical hardware as a theoretical abstraction instead of a finite resource with physical limits.

Silicon Abuse in the Code Editor

Why Your NAND Flash Is Screaming

To understand why this is a disaster, you have to look at the physics of NAND flash memory. Unlike magnetic hard disks that can be written to almost indefinitely, flash memory has a strict expiration date. SSDs store data by trapping electrons in floating-gate or charge-trap transistors. Writing data requires applying a high voltage to tunnel electrons across a thin insulating oxide layer. Over time, this process permanently degrades the oxide insulator. Eventually, the cells can no longer reliably hold a charge, and the drive fails.

This physical limit is measured in Terabytes Written (TBW). If you check the specifications of standard consumer SSDs like Samsung's 9100 PRO, you will find a TBW rating of around 600 TB for a 1 TB drive, as documented by How-to Geek. Major manufacturers like Kingston explain this as the maximum amount of data a drive can write before the wear-and-tear compromises reliability.

When OpenAI’s Codex logs 640 TB of database transactions in a year, it exceeds that 600 TBW limit. It literally grinds the physical oxide layer of your drive to dust. The drive stops being a reliable storage medium. It becomes e-waste. This isn't just a minor programming oversight; it is physical wear masquerading as telemetry. Understanding such hardware constraints is key, especially as new architectures like Apple’s AFM 3 Core continue to push the boundaries of NAND storage.

Why Your NAND Flash Is Screaming

The Actual Cost of Bad Code

This bug does not just kill hardware; it actively steals value. Let's do some math on the economic damage. SSD endurance has a physical cost that can be calculated. The financial formula for drive value depreciation is straightforward: TB written multiplied by the drive's price divided by its rated TBW. If we break this down, we can see exactly how much money Codex users were losing.

Assuming a cost of roughly $0.13 per TB written, users were footing the bill for OpenAI's programming mistakes. Consider Rui Fan's situation: his 1 TB SSD costs roughly $200 and has a 600 TBW endurance rating. The cost per TB written is $200 divided by 600, which equals about $0.333 per TB. Over his 21 days of uptime, writing 37 TB of completely useless debug logs cost him $12.33 in real-world hardware depreciation.

For another developer on the issue tracker, Codex analyzed the disk activity and estimated that the bug cost him $38.64 in hardware degradation on his Samsung 990 2 TB NVMe drive. Over the March-to-June window, the Codex-generated estimate of the overall cost of this bug across the user base was in the low-single-digit millions of dollars. For users running premium 2 TB SSDs (like the Samsung 9100 PRO at $300 with 1,200 TBW), the cost works out to $0.25 per TB. But the principle remains: developers are paying out of pocket for OpenAI’s lazy programming.

When Smart AI Writes Dumb Logs

The root of this problem lies in a series of commits made back in February 2026. Developers working on Codex enabled app-server SQLite logs at the TRACE verbosity level. Instead of logging errors or major system events, Codex logged every single tiny operation, function call, and state transition. This verbose local diagnostic database remained on-disk unless the user manually opted in to send a feedback report, silently eating away at their storage hardware in the background.

The supreme irony of this situation is that Codex, running on OpenAI's GPT-5.3 model, reviewed and approved this exact series of commits. The AI agent designed to help developers write clean, optimized code did not see a problem with writing hundreds of terabytes of local telemetry to disk. This is a massive indictment of current AI code generation and review. If an AI model cannot notice a flagrant hardware anti-pattern, how can we trust it to review security-critical production files? It is a stark reminder that while we have tools like Niteshift and OpenAI’s newly acquired tool Cursor competing to automate programming, they still lack basic hardware empathy. For a deeper look into the broader issue of AI efficiency, see Beyond the Memory Limit.

OpenAI engineers have acknowledged the bug and are actively working on pull requests to tone down the log verbosity. But for the users whose drives have already lost 10% of their life expectancy, a patch is a minor consolation. The lesson is clear: watch your filesystems, check your logs, and never assume that smart AI writes smart code.

More blogs