Need help with a crash report

So this crash report came from my production server, it seemingly crashed randomly (not during startup). I have the exact same list (and versions) of all mods on my dev server, and that works well. Server: Fabric 1.21
48 Replies
Admincraft Meta
Admincraft Metaβ€’5mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by _.dominic
Admincraft Meta
Admincraft Metaβ€’5mo ago
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 _.dominic#0
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
It would start up, run without issues for some time with people playing, and just crashed seemingly out of nowhere
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
also seeing a lot of this, I don't have the server configured to resume after crash, wondering what that is
No description
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
logs for the repeated startup and stop
[14:58:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[14:58:02] [Thread-5/INFO]: [ConsoleLog] Closing ConsoleLogListener
[14:58:02] [JDA MainWS-ReadThread/INFO]: Waiting for 4 requests to finish.
[14:58:43] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: Input/output error
at java.base/java.io.FileInputStream.readBytes(Native Method) ~[?:?]
at java.base/java.io.FileInputStream.read(FileInputStream.java:287) ~[?:?]
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:345) ~[?:?]
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420) ~[?:?]
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:350) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:393) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.lockedRead(StreamDecoder.java:217) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:171) ~[?:?]
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:188) ~[?:?]
at java.base/java.io.BufferedReader.fill(BufferedReader.java:160) ~[?:?]
at java.base/java.io.BufferedReader.implReadLine(BufferedReader.java:370) ~[?:?]
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:347) ~[?:?]
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:436) ~[?:?]
at net.minecraft.class_3176$1.run(class_3176.java:103) [server-intermediary.jar:?]
[14:58:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[14:58:02] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[14:58:02] [Thread-5/INFO]: [ConsoleLog] Closing ConsoleLogListener
[14:58:02] [JDA MainWS-ReadThread/INFO]: Waiting for 4 requests to finish.
[14:58:43] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: Input/output error
at java.base/java.io.FileInputStream.readBytes(Native Method) ~[?:?]
at java.base/java.io.FileInputStream.read(FileInputStream.java:287) ~[?:?]
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:345) ~[?:?]
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420) ~[?:?]
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:350) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:393) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.lockedRead(StreamDecoder.java:217) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:171) ~[?:?]
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:188) ~[?:?]
at java.base/java.io.BufferedReader.fill(BufferedReader.java:160) ~[?:?]
at java.base/java.io.BufferedReader.implReadLine(BufferedReader.java:370) ~[?:?]
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:347) ~[?:?]
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:436) ~[?:?]
at net.minecraft.class_3176$1.run(class_3176.java:103) [server-intermediary.jar:?]
Skullians
Skulliansβ€’5mo ago
If it’s restarting itself you might be looking at an OOM Although ptero can detect some server exits as a crash and restart @π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ are you using an ssd or HDD
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
nvme ssd OOM..? whats that? I've checked the smart status of the drive as well, gave me a pass
Skullians
Skulliansβ€’5mo ago
out of memory
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
let me run a spark for 1m
Skullians
Skulliansβ€’5mo ago
what is sync-chunk-writes set to in server.properties
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
spawn-animals=true
spawn-monsters=true
spawn-npcs=true
spawn-protection=16
sync-chunk-writes=true
text-filtering-config=
use-native-transport=true
view-distance=10
white-list=true
spawn-animals=true
spawn-monsters=true
spawn-npcs=true
spawn-protection=16
sync-chunk-writes=true
text-filtering-config=
use-native-transport=true
view-distance=10
white-list=true
True
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Metaβ€’5mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by _.dominic
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
interesting why is the memory so low
Skullians
Skulliansβ€’5mo ago
Set it to false
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
startup flags:
java -Xms1024M -Xmx10240M --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=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar fabricserver.jar --nogui &
java -Xms1024M -Xmx10240M --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=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar fabricserver.jar --nogui &
Skullians
Skulliansβ€’5mo ago
What does ptero say you’re using in terms of ram
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
i dont use ptero 🧌
Skullians
Skulliansβ€’5mo ago
:/ what do you use
Skullians
Skulliansβ€’5mo ago
You just run in SSH?
Skullians
Skulliansβ€’5mo ago
:doom_wojak: Interesting
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
I dont need a gui panel, things are all automated with cron
Skullians
Skulliansβ€’5mo ago
12GB vps ?
Skullians
Skulliansβ€’5mo ago
ah
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
should I push xms up to xmx?
Skullians
Skulliansβ€’5mo ago
try it Also feel free to remove AlwaysPreTouch seeing as it preallocates the memory If you could get a spark when players are on that would be great if possible
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
think im the only one that can hop on rn
Skullians
Skulliansβ€’5mo ago
setting sync chunk writes on server.properties might help with your input issue on saving
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
everyone else are sleeping (or offline)
Skullians
Skulliansβ€’5mo ago
AntiXRay seems to have caused an issue
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
okay new startup flags
java -Xms10240M-Xmx10240M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -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=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar fabricserver.jar --nogui &
java -Xms10240M-Xmx10240M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -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=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar fabricserver.jar --nogui &
Skullians
Skulliansβ€’5mo ago
make sure you’re up to date Missing a space between Xms and Xmx
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
it's the newest release from when I checked like a week ago oooh
Skullians
Skulliansβ€’5mo ago
interesting
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
but yes, anti xray have caused issues on my dev server as well, forgot how i dealt with it but it doesnt seem to like the other mods will remove it for now
Skullians
Skulliansβ€’5mo ago
yeah, I would also make a GitHub issue on their page
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
will go do that while the vm reboots
Skullians
Skulliansβ€’5mo ago
sweet
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
commited well it started up just fine, will monitor it for a while and see if more crashes happen but thanks for helping let me get one last spark report in
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Metaβ€’5mo ago
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by _.dominic
Skullians
Skulliansβ€’5mo ago
Without any players on a spark doesn’t help much unfortunately
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
okay then thanks for your time again will open a new thread if this comes back to haunt me !solved
Admincraft Meta
Admincraft Metaβ€’5mo ago
post closed!
The post/thread has been closed!
Requested by _.dominic#0

Did you find this page helpful?