NewSchokr 13 is here. A whole new UI, seven locations, snapshots and more. Read more →

How to change a server's memory, CPU and disk on Schokr

Raise or lower a server's memory, CPU and disk on Schokr from its Resources section, within your team's shared pool.

Updated · 2 min read

You can change any server's memory, CPU and disk at any time from its Resources section. The only rule is that the total across all of your team's servers must fit in the team's pool.

Change resources

  1. Open your server in the console.
  2. Go to the Resources section.
  3. Adjust memory, CPU and disk.
  4. Save.
  5. Restart the server so the new limits apply everywhere, including in the startup command.

Not enough free resources?

If the pool is used up, free some from another server first:

  1. Open a server that has more than it needs.
  2. Lower its memory, CPU or disk in its Resources section and save.
  3. Restart it.
  4. Go back and raise the server that needs more.

You can also add permanent upgrades to your team's pool from the store with credits:

UpgradeCost
1 GB memory450 credits
10 GB disk450 credits
50% CPU300 credits
1 server slot250 credits

How much to give each server

Use the console's usage graphs while the server is busy, not just when it is empty.

  • Memory: aim for normal peak usage plus 15 to 25% headroom.
  • CPU: if usage sits at the limit and the server lags, give it more. Remember 100% is one core.
  • Disk: leave room for logs, world growth, updates and archives.

Java servers and memory

Java-based servers, like Minecraft, set their maximum heap from the memory limit in the startup command. When you change memory, restart so Java picks up the new value. Java also uses some memory outside the heap, which is why a server can be killed even if the heap looks fine. If that happens, see out of memory errors.

Lowering disk safely

Before lowering a server's disk, check how much it currently uses. If you set the limit below current usage, the server cannot write new files, which can break saving. Clean up first: delete old logs, crash reports and leftover archives. See fixing a full disk.

CPU explained

CPU settingMeaning
25%A quarter of one core
50%Half a core
100%One full core
150%One and a half cores (the whole free pool)

Most bots run fine on 25 to 50%. Game servers usually want 100% or more, especially Minecraft during world generation.

Permissions

Changing resources is a team permission because it lets someone move capacity between servers. See team roles and permissions.