Jump to content

Minecraft Forge Server keeps getting killed by OOM Killer. Forge 1.19.2. Ubuntu Server.


Moeve

Recommended Posts

Hello,

I recently uploaded my Minecraft Forge Server on my Ubuntu VPS. It was working great on my personal computer but for availability purpose we wanted it to be hosted. The mods that are on the server are Twilight Forest, Apotheosis, More Minecarts and Sophisticated Backpacks. The host machine is on Ubuntu 22 and we have 8GB of RAM available, but we're only using 4. I tried with 6 but that doesn't seem to fix the error. The problem is that the server is getting killed by the OOM Killer of the Linux Kernel, I suspect a memory leak but I'm not an expert. The server only crash after 1h or so, the RAM usage keeps building during that time. I've tried to make dumps of the memory but that doesn't help me fixing things up.

Below are several links, one for the Spark profiler, one for the Server Logs and one for the Memory Dump.

Spark Profile https://spark.lucko.me/qUC5wKDWGM

Heap Dump : https://spark.lucko.me/uQhC5Ywrsk

Logs : https://mclo.gs/RlY7jkr

This imgur link shows you the result of the memory analyser of Eclipse 

https://imgur.com/a/6koLES2

Link to comment
Share on other sites

4 hours ago, Moeve said:

The imgur link shows a memory dump of the crash but it's hard to get a profile of the exact moment of the crash since it happen pretty randomly

I saw, but the issue is that everything looks correct since it seems the memory leak was either caused after a certain point in time or was from some action. So unless you could profile the exact moment when the game starts to slow down, you may just have to remove mods and see whether the crash still occurs.

Link to comment
Share on other sites

  • 2 weeks later...
On 2/5/2023 at 9:06 PM, ChampionAsh5357 said:

I saw, but the issue is that everything looks correct since it seems the memory leak was either caused after a certain point in time or was from some action. So unless you could profile the exact moment when the game starts to slow down, you may just have to remove mods and see whether the crash still occurs.




 

Ok, thanks :)

Edited by JonBaker
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.