{"id":507933,"date":"2026-06-23T23:07:14","date_gmt":"2026-06-23T23:07:14","guid":{"rendered":"https:\/\/www.newsbeep.com\/il\/507933\/"},"modified":"2026-06-23T23:07:14","modified_gmt":"2026-06-23T23:07:14","slug":"openai-codex-bombards-ssds-with-needless-write-operations-costing-millions","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/il\/507933\/","title":{"rendered":"OpenAI Codex bombards SSDs with needless write operations, costing millions"},"content":{"rendered":"<p class=\"kicker \" style=\"\">ai and ml<\/p>\n<p class=\"subtitle \" style=\"\">Clumsy logging implementation squirrels away data without regard for cost<\/p>\n<p>Modern SSDs have a limited number of write cycles before they expire. Now, OpenAI is scrambling to fix a flawed logging implementation that has been shortening the lives of Codex users&#8217; solid state drives (SSDs) with excessive data writes and lowering the devices&#8217; value by a significant amount of money.<\/p>\n<p>A bug report opened last week for the company&#8217;s Codex coding agent warns of the consequences in its title: &#8220;Codex SQLite feedback logs can write ~640 TB\/year and rapidly consume SSD endurance <a href=\"https:\/\/github.com\/openai\/codex\/issues\/28224\" rel=\"nofollow noopener\" target=\"_blank\">#28224<\/a>.&#8221;<\/p>\n<p>&#8220;On my machine, after about 21 days of uptime, the main SSD has written about 37 TB,&#8221; wrote developer Rui Fan, a project management committee member of <a href=\"https:\/\/flink.apache.org\" rel=\"nofollow noopener\" target=\"_blank\">Apache Flink<\/a>. &#8220;Process\/file-level checks show Codex SQLite logs are the main continuous writer.<\/p>\n<p>&#8220;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&#8217;s warranted write endurance in less than a year.&#8221;<\/p>\n<p>SSDs have a limited lifespan, often measured in terabytes written (TBW). This number varies by model and capacity. Samsung&#8217;s 2025 9100 PRO SSDs, for example, promise <a href=\"https:\/\/news.samsung.com\/us\/samsung-announces-9100-pro-series-ssds-with-breakthrough-pcie-5-0-performance\/\" rel=\"nofollow noopener\" target=\"_blank\">600 TBW for the 1 TB SSD<\/a>. And after that point, we expect their performance to degrade and failure becomes more likely.<\/p>\n<p>The problem with Codex is that it has been writing so much logging data to SSD storage that users have become concerned they&#8217;re shortening the life of their hardware.<\/p>\n<p>Another developer posting in Rui Fan&#8217;s thread remarked, &#8220;Codex analyzed the disk usage and <a href=\"https:\/\/github.com\/openai\/codex\/issues\/28224#issuecomment-4778687871\" rel=\"nofollow noopener\" target=\"_blank\">says<\/a> this bug cost me $38.64 in drive value of my Samsung 990 2 TB NVMe.&#8221;<\/p>\n<p>This dev subsequently <a href=\"https:\/\/github.com\/openai\/codex\/issues\/28224#issuecomment-4776133923\" rel=\"nofollow noopener\" target=\"_blank\">cited<\/a> the Codex-generated estimate of the overall cost of this bug: &#8220;This regression plausibly burned low-single-digit millions of dollars of SSD endurance across users during the March-June Window.&#8221;\u00a0<\/p>\n<p>Codex&#8217;s economic impact assessment assumes a cost of $0.13 per TB written to SSDs.<\/p>\n<p>This is based on this formula: TB written \u00d7 (SSD price \/ SSD TBW). So given a 1 TB SSD, we estimate that Rui Fan incurred a cost of $12.33 for 37 TB of squandered storage. (Cost per TBW = SSD price \/ SSD endurance = $200 \/ 600 TBW = $0.333 per TB written.) A more spacious and more costly SSD with a higher TBW rating would cost less per wasted byte (e.g. $0.25 per TB for a $300 \/ 1200 TBW 2 TB Samsung 9100 PRO SSD).\u00a0<\/p>\n<p>In December 2025, Codex devs <a href=\"https:\/\/github.com\/openai\/codex\/discussions\/8291\" rel=\"nofollow noopener\" target=\"_blank\">announced<\/a> plans to add telemetry by default (except where disallowed by law) to the Codex CLI. <\/p>\n<p>But this issue has to do with local diagnostic logging, which was introduced around the time the app debuted last year and is also on by default. The logs stay on the device unless included by the user in a feedback report.<\/p>\n<p>Concerns about excessive write operations using OpenAI&#8217;s Codex have been surfacing in the project&#8217;s GitHub repo <a href=\"https:\/\/github.com\/openai\/codex\/issues\/17320\" rel=\"nofollow noopener\" target=\"_blank\">for<\/a> <a href=\"https:\/\/github.com\/openai\/codex\/issues\/24275\" rel=\"nofollow noopener\" target=\"_blank\">several<\/a> <a href=\"https:\/\/github.com\/openai\/codex\/issues\/20563\" rel=\"nofollow noopener\" target=\"_blank\">months<\/a>.<\/p>\n<p>A spokesperson for OpenAI confirmed that company engineers are aware of the problem and are working to fix it \u2013 something evident from several <a href=\"https:\/\/github.com\/openai\/codex\/pull\/29432\" rel=\"nofollow noopener\" target=\"_blank\">recent<\/a> <a href=\"https:\/\/github.com\/openai\/codex\/pull\/29457\" rel=\"nofollow noopener\" target=\"_blank\">pull<\/a> <a href=\"https:\/\/github.com\/openai\/codex\/pull\/29599\" rel=\"nofollow noopener\" target=\"_blank\">requests<\/a> intended to address the problem. We&#8217;re told that these logs are intended to help OpenAI engineers diagnose issues and that the problem was the result of high-volume data that was being stored in a way that created far more disk activity than anticipated.<\/p>\n<p>While purported fixes have been landing and the company has made\u00a0<a href=\"https:\/\/github.com\/openai\/codex\/issues\/28224#issuecomment-4781555903\" rel=\"nofollow noopener\" target=\"_blank\">some progress<\/a>, users continue to\u00a0<a href=\"https:\/\/github.com\/openai\/codex\/issues\/28224#issuecomment-4781084162\" rel=\"nofollow noopener\" target=\"_blank\">file problems<\/a>.<\/p>\n<p>The issue appears to date back to <a href=\"https:\/\/github.com\/openai\/codex\/pull\/12969\" rel=\"nofollow noopener\" target=\"_blank\">work done in February<\/a> to write app-server SQLite logs at TRACE level, which emits more verbose logs than, say, ERROR level.\u00a0<\/p>\n<p>We note that Codex, presumably <a href=\"https:\/\/openai.com\/index\/introducing-gpt-5-3-codex\/\" rel=\"nofollow noopener\" target=\"_blank\">running GPT-5.3<\/a>, <a href=\"https:\/\/github.com\/openai\/codex\/pull\/12969\" rel=\"nofollow noopener\" target=\"_blank\">reviewed this particular series of commits<\/a>. That makes it all the more surprising that the code was so ill-conceived. \u00ae<\/p>\n","protected":false},"excerpt":{"rendered":"ai and ml Clumsy logging implementation squirrels away data without regard for cost Modern SSDs have a limited&hellip;\n","protected":false},"author":2,"featured_media":507934,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[345,343,344,85,46,125],"class_list":["post-507933","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-artificial-intelligence","tag-artificialintelligence","tag-il","tag-israel","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/507933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/comments?post=507933"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/507933\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media\/507934"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media?parent=507933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/categories?post=507933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/tags?post=507933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}