A
Admincraft•2y ago
dodo161

Crash report help

Can someone help me find a reason why my server keeps crashing
13 Replies
Admincraft Meta
Admincraft Meta•2y ago
Please use a paste service next time!!
https://mclo.gs/vVf67ey Requested by <@126412044168724480> (file was truncated because it was too long.)
QarthO
QarthO•2y ago
I see you're only using this:
JVM Flags: 1 total; -Xmx10G
JVM Flags: 1 total; -Xmx10G
I'd recommend using these flags in your startup script https://docs.papermc.io/paper/aikars-flags
Aikar's Flags | PaperMC Documentation
Recommended JVM Startup Flags
QarthO
QarthO•2y ago
After using flags if crash still persists, pls share a spark report https://spark.lucko.me/
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
QarthO
QarthO•2y ago
just drop the jar in with ur plugins, should always have this installed (paper even recommends this as ur server is starting up)
dodo161
dodo161OP•2y ago
alright i done so i updated it ill report back if it happens again. Just a quick question tho is there a way to inplement auto restart script in this bat code?
QarthO
QarthO•2y ago
batch? so im assuming ur using windows? by auto restart, do you mean like a timed restart, or auto restart as in it will attempt to restart after crash?
dodo161
dodo161OP•2y ago
yes im using windows and i mean auto restart on crash im using my pc as a server to host my mc server aka selfhosting this is a script i used before @echo off cls echo This script will keep your server running even after crashing! title Minecraft WatchDog :StartServer start /wait java -Xmx4G -jar forge-server.jar nogui -o true echo (%time%) Server closed/crashed... restarting! goto StartServer altho with 10gb of ram i found it on net but just to say server crashed before this scrip was inplemented
QarthO
QarthO•2y ago
so im assuming this didnt work? batch files arent really good for crash detecting this will only work if the process ends
dodo161
dodo161OP•2y ago
no it worked but server kept crashing ather like 5 min
QarthO
QarthO•2y ago
yeah u need ur flags the flags will help u an insane amount
dodo161
dodo161OP•2y ago
i see thank you do you have a page where i can learn about them what they do becouse i just heard of them o nvm i just saw its in the link you already sent me
Snow Kit
Snow Kit•2y ago
Paper build 40's commit message is Move some Folia API to Paper for easy compat. I'm pretty sure this build was borked because build 41 was Revert "Move some Folia API to Paper for easy compat". Your error was from io.papermc.paper.threadedregions, which is part of the Folia API. Simply changing startup flags won't fix this. Try using paper build 43 (latest) or try using build 41.
dodo161
dodo161OP•2y ago
Thank you bouth. Hopefully with a tips you provided me my server wont crash any mroe 😊

Did you find this page helpful?