Server sometimes crashes without any info/errors

hey, im running a paper 1.21.4 survival server on a vps server trough pterodactyl and it restarts itself 1-2 times a day without any info/errors in the logs so i cant figure out what causes this. cpu usage is always ~2-10% usage so no issue should be there. ram allocated is 16gb in total where the minecraft server gets 15.5gb and the rest is for the panel. (server also only uses ~6gb actively) startup command:
java -Xms128M -Xmx$(({{SERVER_MEMORY}}-512))M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}
java -Xms128M -Xmx$(({{SERVER_MEMORY}}-512))M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}
2 Replies
Exos
Exos2w ago
That’s… not a lot of memory to leave for the panel and the system
Tizo
TizoOP2w ago
the vps itself has 48gb, how much should i give the panel?

Did you find this page helpful?