Home/Q&A/Remote Mac mini disk almost full after weeks of running an AI agent: what now?

Remote Mac mini disk almost full after weeks of running an AI agent: what now?

Updated · airankrush

Direct answer

Find out what is taking the space before you delete anything. For a long-running agent the usual culprits are logs, screenshots, browser cache and container images, and clearing those is normally enough. Do not touch system directories or the platform's management components.

Basis

  • A desktop-style agent may save a screenshot at every step, and logs only ever grow, so after a few weeks the volume is considerable. They are often scattered in the tool's own hidden directories, which Finder does not show.
  • df -h / shows the overall free space; du -sh followed by a directory path shows the size of a single directory, so work down level by level from your home directory. If Docker is installed, docker system df shows how much images and build cache take.
  • When the disk is close to full, the symptom is not always an out-of-space error: database writes failing, the browser unable to open pages and the system becoming very slow are all possible, and the agent will mistake these for other problems.
  • Storage capacity is fixed by the configuration at order time, and memory and storage are two different things. An external solid-state drive can add storage, but purchase, port and installation have to be confirmed with support first; you cannot just ship one over yourself.

Information as of .

Boundaries: when the answer is different

Do not use one-click cleaner software, and do not follow online tutorials to delete system directories, the top-level cache directory or folders you do not recognise: the platform's management components and the remote-control software are on this machine too, deleting them by mistake will leave you unable to connect, and the terms of use do not allow removing them. Before cleaning, confirm that the data you want to keep is backed up off the machine; deletion cannot be undone. If the disk is so full that even remote desktop is hard to use, do not restart repeatedly; contact support and explain the situation.

How to do it

  1. Run df -h / to confirm it really is a space problem.
  2. Use du -sh level by level under your home directory to find the three or four largest directories.
  3. Deal with the agent's screenshots and old logs first: compress them, transfer them to your own storage, then delete the local copies.
  4. Clear the browser cache, unused container images and installers.
  5. Add rotation by size or by day for logs and a retention period in days for screenshots, so the disk does not fill again.
  6. If space is still tight after cleaning, ask support about external storage or changing the configuration.

Use case

This question belongs to the use case: Mac mini for 24/7 AI agents? Only worth it when the agent needs a desktop or macOS apps

Other questions in the same use case:

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All Q&A