# Claude Code crashes Mac mini due to full disk, prompting hourly watchdog

Digest AI · Marketing & Small Business · published 2026-12-02T01:59:00Z

Canonical: https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo

## 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.

The 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.

## Key points

- 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

## Why it matters

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.

## Sources

1. [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](https://note.com/neos_jp/n/n9f5688f8ca27?hl=en) (note.com, 2026-12-02)

Part of the developing story: [Claude Code crashes Mac mini due to full disk, prompting hourly watchdog](https://digestai.news/thread/non-engineer-builds-mac-desktop-hud-with-claude-code-using-zero-code) (2 stories)

## Cite

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

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. 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
JSON: https://digestai.news/story/claude-code-crashes-mac-mini-due-to-full-disk-prompting-hourly-watchdo.json
