Latest / Ctrl AI Profit / Ep. 139 | The AI Tool That's Burning Through Your Hard Drive
Transcript
- 0:20SPEAKER_00: There's an AI tool burning through hard drives right now, and almost nobody is talking about it.
- 0:25SPEAKER_01: OpenAI's Codex CLI has a logging bug so aggressive it can write up to 640 terabytes per year to your SSD.
- 0:33SPEAKER_01: That is not a typo.
- 0:35SPEAKER_00: A tool that's supposed to help you write code is silently destroying the hardware it runs on.
- 0:40SPEAKER_00: You'd never know until your drive dies.
- 0:43SPEAKER_01: The bug was flagged in a GitHub issue recently.
- 0:46SPEAKER_01: A developer noticed their SSD was being hammered.
- 0:49SPEAKER_01: The root cause is trace level logging enabled by default.
- 0:53SPEAKER_00: Every internal operation, every API call, every token generated, every retry gets written to a log file on your disk.
- 1:01SPEAKER_01: Trace is the most verbose logging level that exists.
- 1:05SPEAKER_01: It's what you use when something is catastrophically broken and you need every microscopic detail.
- 1:10SPEAKER_01: No production tool should have that on by default.
- 1:13SPEAKER_00: It's like recording every breath you take.
- 1:15SPEAKER_00: Technically possible, but nobody needs that data unless something is very wrong.
- 1:20SPEAKER_01: Exactly.
- 1:21SPEAKER_01: Trace logging is meant for temporary debugging, not daily use.
- 1:26SPEAKER_01: It should always be opt-in, never a default.
- 1:28SPEAKER_00: And this isn't some obscure side project.
- 1:32SPEAKER_00: This is OpenAI, the company telling every business owner they need AI.
- 1:37SPEAKER_01: The hacker news thread went viral because developers started checking their own machines.
- 1:42SPEAKER_01: One developer found two terabytes of logs written in just a few weeks of normal use.
- 1:48SPEAKER_00: Two terabytes of logs in a few weeks.
- 1:50SPEAKER_00: Most consumer SSDs are rated for 300 to 600 terabytes over their entire lifespan.
- 1:57SPEAKER_00: You could burn through your warranty in a couple of months.
- 2:00SPEAKER_01: And SSD wear isn't like a light bulb that pops, it's gradual degradation.
- 2:05SPEAKER_01: Your drive gets slower, then you get errors, then one day it just doesn't mount.
- 2:15SPEAKER_00: Every owner listening has been told to install AI tools, run them locally, see what they can do.
- 2:20SPEAKER_01: That advice is still correct, but what nobody's telling you is that you're trusting these tools with your actual hardware, not just your data, your physical hardware.
- 2:31SPEAKER_00: An AI tool with runaway logging can shorten a$1,000 SSD to a few months of life.
- 2:37SPEAKER_01: A decent enterprise SSD costs$200 to$400.
- 2:41SPEAKER_01: If a tool cuts its lifespan from five years to five months, that's a hidden cost of nearly$1,000 a year on top of the tool itself.
- 2:50SPEAKER_00: And who pays for that?
- 2:51SPEAKER_00: You do.
- 2:52SPEAKER_00: Not OpenAI, not the vendor.
- 2:54SPEAKER_00: You're buying the drive, paying your IT person, eating the downtime.
- 2:59SPEAKER_01: And that's before factoring in the cost of lost productivity.
- 3:02SPEAKER_01: If your main workstation dies on a Tuesday morning, you're not just buying a drive, you're losing a day or more of work.
- 3:08SPEAKER_00: That's the double hit.
- 3:10SPEAKER_00: Hardware cost plus opportunity cost.
- 3:13SPEAKER_00: Most small businesses don't budget for either one.
- 3:16SPEAKER_01: The broader issue is vendor accountability.
- 3:19SPEAKER_01: When you install software from Microsoft or Apple, entire teams ensure it won't destroy your hardware.
- 3:25SPEAKER_01: The AI industry operates with startup standards on enterprise deployments.
- 3:30SPEAKER_00: And they're getting a pass because everyone's excited about what AI can do.
- 3:34SPEAKER_00: Nobody asks the boring questions: what's this doing to my disk, to my network, to my battery?
- 3:41SPEAKER_01: The Codex CLI bug is the canary in the coal mine.
- 3:44SPEAKER_01: If one of the best funded AI companies on Earth ships a tool writing 640 terabytes of logs per year, what are the smaller ones doing?
- 3:52SPEAKER_00: The ones from five-person startups with no QA team?
- 3:56SPEAKER_00: Exactly.
- 3:57SPEAKER_01: The Hacker News reaction confirmed this is widespread.
- 4:01SPEAKER_01: People shared stories of local model runners filling up home directories, chatbots logging conversations unencrypted, coding tools writing 40 gigabytes of logs in a single day.
- 4:12SPEAKER_00: 40 gigs in one day.
- 4:14SPEAKER_00: That's insane.
- 4:15SPEAKER_01: Another developer found their machine's swap file had grown to 30 gigabytes because an AI agent was stuck in an infinite retry loop.
- 4:23SPEAKER_01: Every retry was logged.
- 4:25SPEAKER_00: That's the pattern.
- 4:26SPEAKER_00: The AI agent loop, try, fail, log, retry, fail, log again, is a logging multiplier.
- 4:32SPEAKER_00: Each retry generates exponential growth.
- 4:35SPEAKER_01: Autonomous agents are especially prone.
- 4:37SPEAKER_01: Traditional software runs a workflow and stops.
- 4:40SPEAKER_01: An agent might loop, retry, explore dead ends, each iteration producing logs.
- 4:47SPEAKER_01: More autonomy means more log volume.
- 4:50SPEAKER_00: So the more powerful the tool, the more it can destroy your hardware.
- 4:53SPEAKER_00: Great paradox.
- 4:55SPEAKER_01: The more autonomous the AI, the more it loops.
- 4:58SPEAKER_01: The more it logs, the more it writes to your disk.
- 5:01SPEAKER_01: It's a straight line correlation.
- 5:04SPEAKER_00: And nobody's warning you about it.
- 5:06SPEAKER_00: They just say install it, try it, it's amazing.
- 5:10SPEAKER_01: This incident is pushing the conversation toward logging standards.
- 5:13SPEAKER_01: Defaults for log levels, rotation, and disk quotas.
- 5:17SPEAKER_01: But standards take time.
- 5:20SPEAKER_00: And your SSD doesn't have time.
- 5:23SPEAKER_00: So let's get practical.
- 5:24SPEAKER_00: Three things every business owner should check today.
- 5:28SPEAKER_01: Step one, check your log directories.
- 5:30SPEAKER_01: On Mac, look for dot folders in your home directory.
- 5:33SPEAKER_01: On Windows, check app data.
- 5:36SPEAKER_01: On Linux, check home dot folders and varlog.
- 5:39SPEAKER_00: For AI tools specifically, look for dot codecs.openai, dot cursor.local.
- 5:46SPEAKER_00: Log files over a hundred megabytes.
- 5:49SPEAKER_00: Red flag.
- 5:50SPEAKER_00: Over a gigabyte, that's a fire.
- 5:52SPEAKER_01: Step two, move AI tool logging off your SSD.
- 5:56SPEAKER_01: Point log directories to slash TMP or a RAM disk.
- 6:00SPEAKER_01: On Mac and Linux, slash TMP is already a RAM disk.
- 6:04SPEAKER_01: On Windows, tools like MDISC can create one.
- 6:08SPEAKER_00: Step three, set log rotation.
- 6:11SPEAKER_00: Limit file size, limit retained logs, set automatic cleanup.
- 6:15SPEAKER_01: If a tool doesn't support log rotation, that's a red flag.
- 6:19SPEAKER_01: It means the developers haven't thought about production use.
- 6:22SPEAKER_00: This isn't just about SSDs either.
- 6:24SPEAKER_00: Runaway logging steals CPU cycles, memory, and disk IO from your actual work.
- 6:30SPEAKER_01: It's resource parasitism.
- 6:32SPEAKER_01: The tool uses your hardware to generate data that primarily benefits the vendor, debugging, analytics, training while you pay the cost.
- 6:40SPEAKER_00: OpenAI acknowledged the bug and said they're working on a fix.
- 6:44SPEAKER_00: But how does trace logging ship by default at a company with that much engineering talent?
- 6:51SPEAKER_01: Likely development settings leaking into production.
- 6:54SPEAKER_01: Before shipping, you audit and reduce logging to err or warn level.
- 6:59SPEAKER_01: That step got skipped, which means it could happen again.
- 7:03SPEAKER_00: Not just at OpenAI, anywhere moving fast.
- 7:06SPEAKER_00: The pace of AI releases is insane.
- 7:09SPEAKER_00: Quality assurance is being sacrificed for speed.
- 7:12SPEAKER_01: And the cost of that speed is borne by the user, not the vendor.
- 7:16SPEAKER_01: That's the fundamental misalignment.
- 7:18SPEAKER_01: If you're evaluating AI tools, add one question to your checklist.
- 7:22SPEAKER_01: What does this tool log?
- 7:24SPEAKER_01: Where does it put it?
- 7:25SPEAKER_01: And can I control it?
- 7:27SPEAKER_00: If the vendor can't answer that, find a different vendor.
- 7:31SPEAKER_01: 640 terabytes a year from one tool, running normally.
- 7:37SPEAKER_01: If that doesn't make you check your disk usage, nothing will.
- 7:41SPEAKER_00: An AI tool that burns through your hard drive isn't helping your business.
- 7:45SPEAKER_00: It's helping itself to your hardware.
- 7:47SPEAKER_00: Check your logs, protect your machines, hold these vendors accountable.
- 7:51SPEAKER_00: 10 minutes of checking could save you thousands in hardware replacements.
- 7:56SPEAKER_00: That's the best ROI you'll get all year.
- 7:59SPEAKER_00: Go check your log folders.
- 8:00SPEAKER_00: Seriously.
- 8:01SPEAKER_00: Right now.