OpenAI Codex has a bug that could kill your SSD in under a year - Notebookcheck News
Reviews<br>← exclude selected types<br>← exclude selected tags
If you use OpenAI's Codex CLI and leave it running for long periods of time, your SSD may be getting hammered.
A GitHub user named 1996fanrui documented the issue on June 14 after noticing unusually high disk activity on their machine. After digging around, they found Codex was continuously hammering a local SQLite database (stored at ~/.codex/logs_2.sqlite) with diagnostic log writes. Over 21 days of uptime, the drive had absorbed around 37 TB of writes. Annualized, that's roughly 640 terabytes per year. A typical 1 TB consumer SSD is rated for about 600 TBW lifetime — so this bug, if left unchecked, could burn through your drive's entire warranted endurance in less than a year.
The culprit is a logging configuration that probably nobody meant to ship to end users. Codex's SQLite feedback sink runs at global TRACE level by default — the noisiest possible setting. It logs everything from raw WebSocket payloads to mundane filesystem events like opening 'passwd' and 'ld.so.cache'. It also ignores the standard RUST_LOG environment variable, so there's no obvious way to turn it down. Around 71% of the logged data is TRACE-level noise that has no real diagnostic purpose, for the average user at least.
What makes it worse is write amplification. The database isn't just growing, but also cycling through tens of thousands of insert-and-delete operations per minute. It is physically writing far more to the drive than the file size implies.
This has actually been a known issue in various forms since at least April, with multiple related reports filed across the year. OpenAI's recent changelog touched some SQLite reliability fixes but hasn't addressed the write rate problem. The issue is still wide open.
In the meantime, Linux and macOS users can symlink '~/.codex/logs_2.sqlite' to '/tmp/' to redirect writes to RAM. The file holds no conversation data, so losing it on reboot is fine.
Source(s)
Github
Featured image by Zac Wolff on Unsplash
Previous article<br>Halo PS5 split-screen does not require PlayStation Plus<br>Next article<br>Phosgo introduces solar e-bike with impressive 120 miles of range
Add as a preferred source on Google
static version load dynamic<br>Loading Comments
Comment on this article
Related Articles
ChatGPT can now manage your wallet and bank accounts: OpenAI introduces personal finance tools<br>05/30/2026
VS Code supply chain attack hits GitHub, OpenAI, and Mistral AI<br>05/21/2026
ChatGPT-OpenAI phone specs, release date leak: 2nm MediaTek SoC, LPDDR6 RAM, UFS 5.0 storage, more<br>05/20/2026
OpenAI launches three new real-time audio API models<br>05/09/2026
OpenAI’s new ChatGPT feature can alert a trusted contact during mental health crises<br>05/08/2026
OpenAI smartphone leak reveals next-gen chipset and more details<br>05/05/2026
Framework blames OpenAI for eye-watering RTX 5070 12 GB graphics module price<br>04/29/2026
OpenAI GPT 5.5 and 5.5 Pro launch with $25,000 bounty<br>04/24/2026
Anubhav Sharma - Senior Tech Writer - 1698 articles published on Notebookcheck since 2024<br>Most of my time goes into writing - and somehow it hasn’t stopped being fun yet.<br>My work mainly revolves around everyday tech, gaming, watches, DIY modding, and the occasional piece on tech-policy chaos when companies and governments clash. I try to keep things simple and honest, without sounding like a product brochure.<br>I have a Bachelor’s degree in Computer Science Engineering and an Associate Degree in English Studies from the College of New Caledonia in British Columbia, Canada.<br>Away from articles and deadlines, life usually shifts to making music, taking photos, or trying to finish games that should have been completed months ago.<br>contact me via: @lottamuzic, LinkedIn
> Expert Reviews and News on Laptops, Smartphones and Tech Innovations > News > News Archive > Newsarchive 2026 06 > OpenAI Codex has a bug that could kill your SSD in under a year
Anubhav Sharma, 2026-06-22 (Update: 2026-06-22)
10
← exclude selected types<br>← exclude selected tags