{"version":1,"type":"story","url":"https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo","json":"https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo.json","markdown":"https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo.md","slug":"claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo","headline":"Claude Code crashes Mac mini due to full disk, prompting hourly watchdog","summary":"A solo operator’s Mac mini ran out of disk space on November 13, halting Claude Code’s ability to generate YouTube videos, apps, and articles. The system relies entirely on Claude Code for content creation: five Japanese and five English YouTube channels, three free smartphone apps (with six downloads total), and blog articles. The disk filled up because temporary project folders (like `node_modules` and `.next`) and Claude’s conversation logs (11 GB of `.jsonl` files) were never deleted, despite being regeneratable or archivable. Swap space also consumed disk when memory ran low, dropping free space from 10 GB to 3 GB in three minutes after launching multiple Chrome windows.\n\nThe operator built a script called `diskwatch.sh` to monitor free space hourly. Over eight days (November 13–20), it ran 90 times, deleting 22 folders (15 on the first day) and recovering minimal space. The script evolved to exclude critical caches (like Playwright browsers) and move logs to an external SSD after five days. Key lessons: watchdogs only clear initial clutter, not recurring issues; alerts must be throttled to avoid drowning the user; and write permissions on external drives must be checked before moving files. The system now logs swap usage and only alerts when free space drops by 2 GB or more since the last check.","keyPoints":["Claude Code halted on November 13 when the Mac mini’s disk filled up, halting all automated content creation","11 GB of conversation logs and regeneratable folders (`node_modules`, `.next`) caused the initial crash, plus swap space spikes","Hourly watchdog ran 90 times over eight days, deleting 22 folders but recovering minimal space due to recurring issues"],"whyItMatters":"Small operators relying on AI tools for content creation face hidden infrastructure risks like disk space and swap usage, which can halt workflows. This case highlights the need for proactive monitoring and external storage solutions to prevent AI-dependent businesses from grinding to a halt.","category":{"slug":"marketing","name":"Marketing & Small Business","url":"https://digestai.news/category/marketing"},"entities":{"companies":["Search: Claude"],"models":["Claude Code"],"people":[]},"firstPublishedAt":"2026-12-02T01:59:00Z","updatedAt":"2026-12-02T01:59:00Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"note.com","title":"[AI One-Person Company Chronicles #01] The Day Claude Stopped Working Because the Disk Was Full: What I Learned from Running an Hourly Watchdog 90 Times in 8 Days About Why","url":"https://note.com/neos_jp/n/n9f5688f8ca27?hl=en","publishedAt":"2026-12-02T01:59:00Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[],"thread":{"title":"Claude Code crashes Mac mini due to full disk, prompting hourly watchdog","url":"https://digestai.news/thread/non-engineer-builds-mac-desktop-hud-with-claude-code-using-zero-code","storyCount":2},"cite":{"text":"Digest AI, \"Claude Code crashes Mac mini due to full disk, prompting hourly watchdog\", 2 December 2026, https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo","publisher":"Digest AI","title":"Claude Code crashes Mac mini due to full disk, prompting hourly watchdog","datePublished":"2026-12-02T01:59:00Z","url":"https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}