COSY Docs

Resource Limits

CPU and memory constraints for game servers.

Resource limits control how much of the host machine's CPU and memory a game server container can use. They prevent a single server from consuming all available resources and affecting other servers or the host system.

Server-Level Limits

Each game server has two configurable limits:

LimitDescriptionExample
MemoryMaximum RAM the container can use2048 MB
CPUCPU core allocation2.0 cores

These are enforced by Docker at the container level. If a server exceeds its memory limit, the container is killed by the OOM (Out of Memory) killer.

User-Level Quotas

In addition to per-server limits, COSY enforces user-level resource quotas. Each user (especially Quota Users) has a maximum total allocation:

QuotaDescription
Memory LimitTotal memory across all of the user's servers
CPU LimitTotal CPU cores across all of the user's servers

When creating or updating a server, COSY checks that the requested resources don't exceed the user's remaining quota. Admins and Owners can adjust these quotas in User Management.

Choosing Limits

The right limits depend on the game and expected player count. Some rough guidelines:

GameMemoryCPU
Minecraft (small, < 5 players)1-2 GB1 core
Minecraft (medium, 5-20 players)2-4 GB2 cores
Minecraft (large, modded)4-8 GB2-4 cores
ARK: Survival Evolved6-12 GB2-4 cores

These are rough estimates — monitor your server's actual usage in the Dashboard and adjust accordingly.

On this page