Troubleshooting guide

Troubleshooting Guide: Linux Server Disk Full

Use this guide to work through the most likely causes, gather useful evidence and make production-safe changes without turning a small problem into a larger outage.

Remote consulting availableCommercial platformsService: Linux Server Operations
Linuxdisk fulllogsDockerbackup processes

What this problem usually means

A full disk can stop databases, break websites, prevent logs from writing, and cause failed deployment projects. The important part is finding what is using space before deleting anything production platforms need.

Production caution: Do not delete database files, Docker volumes or application storage blindly. A quick cleanup can become data loss if the wrong directory is removed.

Common symptoms

  • No space left on device errors
  • Database or application stops writing data
  • Deployment Projects fail during extraction or image pulls
  • Log files stop updating
  • Server is slow or unstable

Common causes

  • Large logs or rotated logs not compressed
  • Docker images, containers or volumes growing
  • Backup Processes stored on the same disk
  • Database files or binary logs expanding
  • Deleted files still held open by running processes
  • Inodes exhausted despite free disk space

Safe first checks

These checks are intended to assist identify the direction of the issue. Always adjust paths, solution names and commands for your environment.

Check disk and inodes

df -h && df -ih

Find large directories

du -xhd1 / | sort -h

Check Docker usage

Docker system df

Find deleted open files

lsof +L1 | head -50

Typical fixes

  • Rotate or compress logs properly
  • Move backup processes off the primary disk
  • Clean unused Docker images after checking containers
  • Investigate database growth and retention
  • Restart processes holding deleted files only when safe
  • Add disk observability and alert thresholds

When to get assist

Get assist if the system is production-facing, customer data is involved, backup processes are uncertain, or the issue affects revenue, security hardening or uptime. We can review the logs, confirm the cause and quote a fixed-scope fix where appropriate.

Need this fixed?

Get remote engineering help for this issue.

Fixed engineering help starts from $499. Emergency incident engineering assistance is $199/hr with a minimum window.

Contact us

Related guides