Minecraft - All players will simultaneously get kicked from the server

System Information

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

Task

Stop disconnect from Minecraft instance

Problem Description

Issue

All players will be kicked from the server. When checking the game panel, it appears as though the Minecraft instance restarted. I was watching the game panel when this happened once and an error popped up saying it lost connection with AMP. This is happening more frequently over the last few days.
I see nothing indicating an error in the minecraft logs, and was curious if it was something between the management panel and the instance.

Reproduction Steps

  • Restarted Minecraft server
  • Restarted AMP
  • Rebooted VPS

You’ll want to read the MC server’s logs or crash-logs to see if there’s a reason why the server crashed.

As I mentioned, I have went over those logs. Nothing indicated a crash. The issue I believe is the disconnect from the instance and the Application Management Panel. I saw a pop-up while the server was up that the AMP lost connection. I can’t recall the exact verbiage, but after the pop up went away, the Minecraft server was restarting.

Could be that the system overloaded either CPU-wise or Memory usage-wise, triggering the OS to kill the process instead of it crashing normally.

I apologize, but I’m really not looking for “could be” answers. It appears as though this is community-driven volunteer support? Is there not a way to have someone who would have visibility into the disconnection issue from AMP to game instance?
While I understand this is an unmanaged VPS setup, when the connectivity between a core component of VPS > AMP > game instance, fails - then this is not a misconfiguration on my part.
This was out-of-the-box, all I did was upload a 1.19.4 game mode called Border Hoarders. No mods at all.

Yeah, this is the forum for AMP, and the people here have nothing to do with Hostinger (they leave the support URL as it’s default value, which leads here).

With Minecraft there generally only are “could be” answers until you take the time to find the cause. You can use the Spark mod server-side to track the server’s CPU usage to see if there’s some commonality there.
Otherwise you can SSH into the VPS itself and monitor the system’s usage using top or htop until the issue triggers.

The AMP panel disconnecting does not stop/restart the game server, whatever is causing the panel to disconnect would be at fault.
And since both AMP and the server are having the issue at the same time, odds are the system is overloaded in some form or another. (seen similar situations myself)
If it were purely a network issue making you lose access to the panel, you’d see maybe a player disconnecting, but the server would be fine after the network issue resolves itself.

I apologize if I snapped at you a little. I’ve been an Oracle DBA for coming on 19 years now. I only do this as a hobby for friends who can’t do it themselves.
I think I’ll recommend us go with a traditional hosting option. I do enough server work all week, I don’t want to have to diagnose in my free time.

Thanks for all your input

1 Like

All’s good! Minecraft is quite an interesting beast in and of itself, so I get that you don’t want to worry about the sysadmin side of things.
I hope you’re able to find something that has some decent support for funky tech voodoo. I’d recommend one, but I’ve fallen into the homelab trap and I find myself fiddling with servers more than I play games in my free time lol.

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