Skip to content

Resources and disk ​

This guide explains how to check CPU, memory and disk use on your VPS, and how to find what is using a full disk without deleting anything important.

Before you begin ​

  • SSH access with a user that has sudo rights, for the commands that need it.
  • The resource limits in your plan.
  • A backup of anything you might need to change. See Backups, snapshots and reboot.

Steps ​

Check the current use ​

  1. Check disk space:

    bash
    df -h
  2. Check memory:

    bash
    free -h
  3. Check CPU load and running processes:

    bash
    uptime
    top

    Press q to leave top.

Find what fills the disk ​

  1. Check the largest folders in a location, such as /var:

    bash
    sudo du -h --max-depth=1 /var | sort -h
  2. Read the names carefully. Old log files and cached packages are often the cause. Do not delete a folder you do not recognise.

  3. To clear old package files that are safe to remove, use the package manager's clean command:

    bash
    sudo apt clean

Delete only what you understand

Deleting the wrong file can stop a service or lose data. If you are not sure what a file is, leave it and ask support.

Expected result ​

You know how much disk, memory and CPU are in use, and you know which folder uses the most space.

If something goes wrong ​

  • The disk is full and a service fails. Free space by clearing package caches, or old logs you have checked. Then restart the service.
  • Memory runs out. Check which process uses the most memory with top. Stop only the process you know.
  • The use stays high. Consider a larger plan. Check the plan limits in the Client Area.

Last reviewed ​

2026-10-27