Minecraft - Server is running very slow with only 5 people on

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.12 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Task

Play the game

Problem Description

Issue

Every time someone joins the server lags for a while. The server will also be very slow when someone travels between bases ( a couple hundred blocks ) Wondering why this is… All have good internet its server side.

Reproduction Steps

  • Added more RAM
  • LOWERED RENDER DISTANCE
  • Tried Switching to PAPER MC

That’s on brand for Minecraft, given that it’s mostly singlethreaded.
Chunkgen/chunkloading is the most expensive operation when it comes to running a MC server, but so far you’ve taken decent steps in handling that. (though I must note that adding more ram to a server that has enough won’t make it faster)
If you have the disk space, the next thing I’d suggest doing is pregenerating the terrain around the play area with something like Chunky. Pregenerating lessens the load a bit, as all the server needs to do is load the chunks, not generate and load them (since it already did so ahead of time)