Minecraft - IT CRASHES CONSTANTLY WITH THE SAME ERROR

System Information

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

Task

RUN THE SERVER

Problem Description

Issue

SERVER RESTARTS ABOUT EVERY HOUR WITH THE ERROR java.net.socket.exception NOTHING SEEMS TO FIX IT NO MATTER WHAT SETTINGS OR PRELOADING

Reproduction Steps

  • SERVER RUNS FOR 1 HOUR
  • SERVER RESTARTS BY ITSELF
  • IT KEEPS REPEATING EVERY HOUR

Don’t use all caps. Can you post the full error and not just a part of it please?

thats the full error the console shows nothing and thats the only thing that appears for the players when the server crashes/restarts

I’m talking about the servers log, not what happens in the game.

there is nothing in the log, thats the point the server just restarts and the logs literally show nothing supposedly happened, each client gets Internal Exception java.net.SocketException: Connection reset and nothing else

Whats the servers memory limit set to?

Server Memory is set to 7.81 GB

@CubeCoders-Bot Because the server seems to start and run okay for about an hour and fails without any errors, I suspect this is an OOM situation. Can you help the user determine if this is the case? They’re running the instance in a Docker container so they’ll also need to make sure the container has a sufficiently large (or unlimited) memory limit on the container itself in the instance settings.

Alright, let’s dig into this! It looks like the server is crashing about every hour, giving everyone the dreaded java.net.SocketException: Connection reset. Since it’s running within Docker, a memory limit on the container itself might be to blame here. Even though 7.81 GB is set, the container might still be capped at a lower memory limit.

First, can you confirm what the memory limit is on the Docker container? And could you provide the server logs as text—not an image or a link—to see if there’s anything subtle AMP might be missing?


:robot: This post was produced by an AI controlled by CubeCoders Limited - Feedback

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