Minecraft - Server crashing for some random reasons

System Information

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

Task

Server crashed twice for no reason specified and reseted all players like to 5 min before crash.

Problem Description

Issue

Server crashed twice without any reason in less than 1 hour duration of gameplay. Here is the server console:
DTE K3B4B_ was slain by Zombie
Grom25118:07:09
BABY ZOMBIE
PrinceN0va18:07:21
sad how u dont lose a heart from that
Console18:07:38
Picked up _JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true
Unbundling libraries to /AMP/Minecraft/bundler
Starting server
Loading libraries, please wait…
ServerMain/INFO18:07:43
Environment: Environment[sessionHost=htt [link is here] ps://sessionserver.mojang.com, servicesHost=ht[another link]tps://api.minecraftservices.com, name=PROD]
18:07:45
Loaded 1337 recipes
Environment: Environment[sessionHost=htt[link again]ps://sessionserver.mojang.com, servicesHost=http[link agains://api.minecraftservices.com, name=PROD]
Loaded 1337 recipes
Server thread/INFO18:07:45
Starting minecraft server version 1.21.3
Loading properties
This server is running CraftBukkit version 4398-Spigot-60c9969-561ceb9 (MC: 1.21.3) (Implementing API version 1.21.3-R0.1-SNAPSHOT)

Reproduction Steps

  • Played server for less than 30 min
  • Server crashed first time and went back in time few minutes before the crash.
  • Server was normal again for some time and then crashed again for second time reseting us players but not stuff as trial chamber spawners etc.

You’ll want to read the crash report if the server’s log doesn’t tell you what happened.

It happened again now, please how do I fix this?
It always tells me this same thing: Console18:07:38
Picked up _JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true
Unbundling libraries to /AMP/Minecraft/bundler
Starting server [here it starts itself up]

The crash report is not the same as the log/console, there is nothing wrong with the log.
(hint: if the server crashed, there is usually a crash-reports folder, which will contain an error that you can google)

hmm, there’s only logs folder with like logs which are encrypted I belive and only latest log is readable but there’s no info on crashing itself… Where is that folder you’re saying exactly?

It’s in the server’s folder. Those other log files also aren’t encrypted, they’re just compressed (cannot be uncompressed in the web interface)

<main_folder_with_all_files>/crash-reports/

Btw if you got discord or smt so I could send u a screenshot of the server file manager etc. would be great?

No thanks, I don’t do out of band support
(you can attach photos here)

I cannot find the folders you’re saying that’s why… Here’s a list of all folders and files there are in file manager: LocalBackups, bundler, libraries, logs, plugins, spigotbuild, versions, world, world_nether, world_the_end, banned-ips.json, banned-players.json, bukkit.yml, commands.yml, eula.txt, help.yml, minecraft_server.jar, ops.json, permissions.yml, server-icon.png, server.properties, spigot-1.21.3.jar, spigot.yml, usercache.json, whitelist.json [I cannot find anything like crash-reports, also in logs folder there’s only those compressed files except latest log which doesn’t help…

If there’s no crash report or indication of a crash in the log/console, the server could be hitting it’s memory limit and hard crashing due to an Out Of Memory Exception. Not too common, but can cause a “trace-less” crash as seen here.
Though overall that’s just my best guess since there isn’t much to go off of.
Scheduled restarts can help clear up memory leaks, and you could switch to the Paper server type, which is a performant fork of Spigot.

1 Like

Thanks for info, I was thinking about memory cause it was hitting like 6,75/7,50 Gb of Ram and then crashed after a bit but like that happens even when there’s 4-6 people and I thought for 20$ that it could easily handle atleast 12 players at same time… Anyways imma see what can I do with so and really thanks for such a great support man. You really spark someone’s day just by doing things like this. Good luck.

1 Like

In that case you could try setting the memory limit a little lower, to prevent it from hard crashing.
Hostinger doesn’t tell you that your memory is shared between any game instances and the operating system itself, which can use between 0.5-1.0GB just by itself depending on a lot of different things. (well, maybe they state it somewhere on their website, but it’s definitely not obvious)
With Minecraft specifically though, even if you have enough ram, it’s hard to have more than ~6-8 players on all running around at the same time, since Minecraft’s worldgen and enitty handling are quite single-core CPU intensive.

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