Random server choke. Need help with determining the reason of this
Server runs on latest paper build with 4 cores. Is this crashing normal ?
20 Replies
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
2023-07-22-1.log
Screenshot_2023-07-22_204344.png
Requested by skajdrovski#0
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 skajdrovski#0
based ona quick scan it seems like the games having issues processing entities within the perameters listed above, might want to check your configs to ensure its not caused by a setting interfering, since i havent used all your plugins before but that seems to be the origin of the issue
from what i can see at least, it did have poor cropping and didnt show the whole log*
i've experienced this kind of crash before. if it crashed in the same way my server did, that is the whole log. i've had an empty thread dump before
it only happened once though so I never figured out what caused it
I mean like i said the most likely issue is actually a entity render issue, could be caused by modification conflicts in specific zones but if it didnt give more information then its annoying to try and find the origin because its only telling us half the problem
Server thread dump (Look for plugins here before reporting to Paper!):
[19:58:32] [Paper Watchdog Thread/ERROR]: Ticking entity: minecraft:player, entity class: net.minecraft.server.level.EntityPlayer
[19:58:33] [Paper Watchdog Thread/ERROR]: Entity status: removed: false, valid: true, alive: true, is passenger: false
this indicates a problem with a render of model via the tick skipping on it, it reads the player as alive and valid removed false
this also happened a few seconds after the server lagged due to explosion with respawn about 20 seconds later
so it's just a random crash
I had some parameters like enable G1GC, but now I removed it. Hopefully it won't crash like that again
are you using aikar's flags?
I've increased entity tracking in spigot config, but I didn't touch server.properties entity simulation tho. Do you think I should also increase it from 100 to 500 ?
no
you should
doubt it's the issue but it'll improve server performance somewhat regardless
gonna check it out, thanks
!flags
Garbage Collection is an important aspect of Java
Usually you'll want to fine-tune your server's GC to maximize efficiency but minimize the negative effects (e.g. stuttering).
The baseline recommendation is to use G1GC, you should follow aikar's recommendations (a Paper core dev) on how to tweak it.
For contemporary java versions, there's also ShenandoahGC with even shorter pauses and smaller CPU overhead, hilltty's flagset is the usually recommended.
If you feel adventurous, you can also try out the latest of the three, ZGC. It is not yet spread wide, actually digging up a reference was somewhat hard.
If you want to read a general overview of Java GCs, there's this one in the making.
Admincraft Canned Responses
Aikar's Flags | PaperMC Documentation
Recommended JVM Startup Flags
!offline
real
if you increase it more it increases chance of damage, what i would suggest is actually reduce it in spigot as well to match the server.properties, the issue appears to have started from lag due to explosion, not a common thing to happen but can happen, that means the tracking skipped and had a server based entity skip as well shortly after, i cant guarantee it will fix but it may help to test with it
I increased it cuz of 50m skeleton achievement, but that's weird cuz it should only affect client side ?
like it's just rendering mobs for longer distance
and not activate them
like i said its a test not a guarantee, this is a matter of trial and error
got it
thx for the help
hahah, I have friends who didn't bought the game, I really would set it to online-mode if that wasn't the case