Minecraft - The minecraft server randomly lags and then restarts

System Information

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

Task

The minecraft server randomly lags and then restarts

Problem Description

Issue

After playing for a while, the minecraft server randomly lags, then restarts and rolls back a little, monitoring the metrics everything looks fine, the server rarely consumes 3GB of RAM and the CPU is at most bellow 50%, (only goes into around 100% when restarting), so i don’t really know whats going on and the logs don’t have anything relevant for troubleshooting

Reproduction Steps

  • Open the server
  • Play for a while
  • After some time, the server lags
  • The server restarts

You can use the Spark mod/plugin to diagnose server resource issues. If there’s any crash reports you could look through those too

After running spark for a while, the only “bad” metric seems to be the max MSPT, which is around 100

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.