Back to all features
App Management

CPU and Memory Limits

Put a CPU and memory ceiling on any service in an app from its Overview, without hand-editing a compose file. Live usage sits next to the limit so you set it knowing what the service actually needs.

CPU and Memory Limits: Step by Step

CPU and Memory Limits is designed to be intuitive. Here's how you use it in Server Compass.

1

Open the app’s Overview

Each service is listed with its live CPU and memory usage shown next to whatever limit is currently applied to it.

2

Turn on the ceilings you want

CPU and memory are independent — limit one, both, or neither. The CPU figure nudges up and down in small steps rather than requiring a typed value.

3

Apply limits

Only the service you changed is restarted. Persistent volumes and every other service in the app keep running.

4

Bad limits roll themselves back

If the new ceiling stops the service coming back up, the previous configuration is restored automatically and you are told what went wrong.

Old School

The Hard Way: Without CPU and Memory Limits

No CPU and Memory Limits? Get ready to memorize these terminal commands and pray you don't make a typo.

1

Find the compose file and read current usage

Setting a ceiling by hand starts with locating the stack and seeing what the container actually consumes.

terminal
docker stats --no-stream
docker inspect ghost --format '{{.HostConfig.NanoCpus}} {{.HostConfig.Memory}}'
2

Edit the limits into the compose file

CPU and memory ceilings live under deploy.resources.limits, and every service you want capped needs its own block.

terminal
# /srv/ghost/compose.yml
services:
  ghost:
    deploy:
      resources:
        limits:
          cpus: '1.5'
          memory: 1024M
3

Recreate the container to apply them

Limits are set at creation time, so the service has to be recreated — and a bad value only shows up after it fails to come back.

terminal
docker compose -f /srv/ghost/compose.yml up -d --force-recreate ghost
docker compose -f /srv/ghost/compose.yml logs --tail 50 ghost

If the ceiling is too tight the container restarts in a loop. Rolling back means editing the file again and recreating a second time.

The Easy Way

Why Suffer? We Built Something Better

CPU and Memory Limits automates the tedious parts. What takes 30 minutes via terminal takes 30 seconds with Server Compass.

  • Point and click
  • Instant validation
  • Safe defaults
  • Works with any provider
Download Server Compass$29 • Lifetime license
Capabilities

CPU and Memory Limits: Full Feature List

Everything you need for app management in one integrated tool, replacing complex CLI commands and manual configuration.

Get Started
Set a CPU ceiling on any service in an app
Set a memory ceiling in MB or GB
Read live CPU and memory usage beside the current limit
Enable each ceiling independently or leave a service unlimited
Restart only the service you changed, not the whole stack
Preserve persistent volumes across a limit change
Roll back automatically when new limits stop a service starting

CPU and Memory Limits: Why It's Essential

Server management shouldn't require a DevOps team. CPU and Memory Limits makes professional-grade app management accessible to everyone.

Complete Visibility

CPU and Memory Limits gives you a bird's-eye view of all your applications. No more guessing container states.

Instant Actions

CPU and Memory Limits puts start, stop, restart, and rollback at your fingertips with one-click controls.

Safe Operations

CPU and Memory Limits includes safety guards and confirmations to prevent accidental destructive actions.

Historical Context

CPU and Memory Limits keeps a full audit trail so you always know what changed and when.

Questions About CPU and Memory Limits

Common questions about CPU and Memory Limits in Server Compass

How do I access CPU and Memory Limits in Server Compass?

CPU and Memory Limits is available in the App Management section of Server Compass. Simply connect to your server, navigate to App Management, and you'll find CPU and Memory Limits ready to use. No additional setup or plugins required.

Does CPU and Memory Limits require any server-side installation?

No. Server Compass operates as a desktop application that connects to your server via SSH. CPU and Memory Limits works through this connection without installing any agents or packages on your server (except the optional monitoring agent for resource tracking).

Is CPU and Memory Limits included in all Server Compass plans?

Yes. Every Server Compass feature, including CPU and Memory Limits, is included with the one-time $29 payment. There are no tier restrictions, add-ons, or per-server fees. You get all 144+ features for all your servers.

Can I use CPU and Memory Limits with any VPS provider?

CPU and Memory Limits works with any VPS or dedicated server that supports SSH access and Docker. This includes DigitalOcean, Hetzner, Vultr, Linode, AWS EC2, Google Cloud, Azure, and any other provider. It also works with local servers and homelab setups.

What makes CPU and Memory Limits different from command-line alternatives?

CPU and Memory Limits provides a visual, intuitive interface that replaces complex CLI commands and configuration files. You get real-time feedback, safety confirmations, and a consistent experience across all your servers without memorizing syntax or writing scripts.

Try CPU and Memory Limits Today

Download Server Compass and get access to CPU and Memory Limits along with 143 other features. One-time $29 payment. No subscriptions. No per-server fees.