Server crashing for being out of memory constantly

This has been happening since yesterday, no idea what triggered it but somehow Pterodactyl keeps killing my server because it thinks I am out of memory
21 Replies
MarijnIsN00B
MarijnIsN00BOP2y ago
container@pterodactyl~ Server marked as offline... [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ---------- [Pterodactyl Daemon]: Exit code: 137 [Pterodactyl Daemon]: Out of memory: true
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by marijnisn00b#0
MarijnIsN00B
MarijnIsN00BOP2y ago
Thats the error message I keep getting Using Fabric 1.20.1 Seems like the log wasnt saved
ProGamingDk
ProGamingDk2y ago
startup flags? it doesnt if tis a oom
MarijnIsN00B
MarijnIsN00BOP2y ago
Here is a log for the list of mods This log does not contain the crash https://mclo.gs/aScmZ7h
mclo.gs
Fabric 1.20.1 Server Log [#aScmZ7h]
623 lines | 2 errors
MarijnIsN00B
MarijnIsN00BOP2y ago
java -Xms128M -Xmx8192M -Dterminal.jline=false -Dterminal.ansi=true -jar fabric-server-launch.jar Now using Lilypad hosting btw
ProGamingDk
ProGamingDk2y ago
how much ram do u pay for from ur host
MarijnIsN00B
MarijnIsN00BOP2y ago
8 gigs
ProGamingDk
ProGamingDk2y ago
try setting it to 6.5-7
MarijnIsN00B
MarijnIsN00BOP2y ago
I can ask to change the startup flags, rn I dont have access to it
ProGamingDk
ProGamingDk2y ago
@Josh does lilypad provide/cover overhead?
Josh
Josh2y ago
we can yup adding some now try now @MarijnIsN00B
MarijnIsN00B
MarijnIsN00BOP2y ago
Will do, ty Is it possible that its somehow the servers mods? I was using EnviroMC before this and I was paying for 6 gigs, changed it to 5 gigs and would still get this crash
ProGamingDk
ProGamingDk2y ago
pterodactyl/docker + setting xmx=container size does it/causes it usually
MarijnIsN00B
MarijnIsN00BOP2y ago
Ah okay Is it possible to just not let Pterodactyl kill my server?
Josh
Josh2y ago
hopefully what I've just done will mean it won't have to
MarijnIsN00B
MarijnIsN00BOP2y ago
I sure hope that too lol This issue has been haunting me for the past few days Its the first time I try using actual proper paid hosts and its been the worst season until now that Ive ever hosted
Snow Kit
Snow Kit2y ago
Pterodactyl keeps killing my server because it thinks I am out of memory
Pterodactyl isn't killing your server, the Linux kernel is no way on Linux to disable the OOM killer from my understanding. It's Linux's last ditch effort to bring back the system if you've ran out of memory you can stop the container from running out of memory by adding swap to the container tho
ProGamingDk
ProGamingDk2y ago
there are 2 oom killers pterodactyls (usually turned off, but it doesnt really matter iirc it only kills instances if the machine itself is running out) docker also has one but host dont and shouldnt disable it (iirc pterodactyl uses it), as it could lead to abuse not even sure if u can disable it unless u modify wings
Josh
Josh2y ago
I think you can disable it via wings settings but yeah we keep it on
ProGamingDk
ProGamingDk2y ago
yeah its just simpler and easier to maintain and manage

Did you find this page helpful?