Calling Minecraft Experts - Modded Minecraft Server Booting User
-
My kid has asked me to setup a minecraft server for him. No big deal, did that before but this time he's asking for a modded server instead of vanilla.
- Ubuntu server 18.04.2
- Minecraft Forge 1.12.2
- Aether II mod v1.12.2
- UFW active and allowing port 25565
Testing the setup and I can successfully connect to the server from my desktop running Windows 10 and the same version of Minecraft Forge and the Aether II mod and after a minute or so, the player gets disconnected with this error...
internal exception: java.ioexception: an existing connection was forcibly closed by the remote host minecraft
The server doesn't appear to display any errors and I get the same disconnect whether UFW is active or not.
My google-fu is failing me and wondering if anyone here has run into this before and found a fix.
-
Not sure about that one. I use Spigot to run my server on Fedora Server and has been going well the last couple years. I haven't tried that Forge one.
-
Did you try with UFW inactive ?
-
@Emad-R Yeah, that was the first thing I tried but no change. Still disconnects after a few seconds.
-
Any chance it needs more RAM?
-
The Java exception, from what I recall, is due to your settings in the server file, limiting the ram. Change the server file to allocate double or triple the ram already configured.
MC with mods takes a lot of RAM.
-
@DustinB3403 said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
The Java exception, from what I recall, is due to your settings in the server file, limiting the ram. Change the server file to allocate double or triple the ram already configured.
MC with mods takes a lot of RAM.
Only when you have more than one person playing. The more people in the world, the memory requirements multiply.
-
@Obsolesce said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
@DustinB3403 said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
The Java exception, from what I recall, is due to your settings in the server file, limiting the ram. Change the server file to allocate double or triple the ram already configured.
MC with mods takes a lot of RAM.
Only when you have more than one person playing. The more people in the world, the memory requirements multiply.
The mods need RAM to load into Java, even before users are logged in the server needs to be able to start up. This is no different than with any OS + whatever you might want to do with it.
The environment requires X at minimum.
-
So to close the loop on this, I finally got this working. The original VM was allocated 30GB memory and 4 cores so it definitely wasn't a resources problem. But I ended up exporting the VM to another Hyper-V host and bam, Minecraft worked. I haven't had time to figure out what was different with the other host but the simple action of moving to new host fixed the issue.
-
@NashBrydges said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
So to close the loop on this, I finally got this working. The original VM was allocated 30GB memory and 4 cores so it definitely wasn't a resources problem. But I ended up exporting the VM to another Hyper-V host and bam, Minecraft worked. I haven't had time to figure out what was different with the other host but the simple action of moving to new host fixed the issue.
Maybe the reboot? Lol
-
@DustinB3403 said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
@Obsolesce said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
@DustinB3403 said in Calling Minecraft Experts - Modded Minecraft Server Booting User:
The Java exception, from what I recall, is due to your settings in the server file, limiting the ram. Change the server file to allocate double or triple the ram already configured.
MC with mods takes a lot of RAM.
Only when you have more than one person playing. The more people in the world, the memory requirements multiply.
The mods need RAM to load into Java, even before users are logged in the server needs to be able to start up. This is no different than with any OS + whatever you might want to do with it.
The environment requires X at minimum.
Sure if you give the server minimum requirements you'll notice...