Good Old Server Crashing
We tried everything - nothing worked
35 Replies
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 lolsshow#0
@Mortis fix bot
no upload
smh
Make a pr for it then smh
To lazy to fix the var assignment issue
Those logs don't appear to contain the server crashing the last line I see in their is the world loaded
oops, my bad, one second
Are you sure? I checked it rn and it have an error
Watchdog Thread
I don't see it in the log you shared. Can you send that specific segment of the log?
copy of your log
I updated the link. turns out the way I was trying to read it capped what I was reading. let me take another look
It looks like your server lagged itself into crashing
as it stopped responding and eventually got to a crashed state due to not loading. This is likely due to the server being overloaded in some manner
Yeah... uh... how to get rid of it? Do you need spark logs?
that would help determine the cause
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Paper
Requested by lolsshow#0
entities appear to be a good portion of the problem
is your world pregenned?
ofc
SSD storage?
NVME
even
It is extremely fast, so, problem not lies here
Well if I'm reading the spark report correctly it seems entities are slowing the server down quite a bit, and chunk caching appears to also have a part to play, just not quite as big of a role
We, like, trimmed entity spawn by 70% at LEAST
idk what to do then. Use a RoseStacker on them!?
Far as I understand how these work. That shows that a lot of the used thread/tick is allocated/used by entities
Are you using a panel?
Crafty Controller, yeah
I belive you are suppsoed to remove alwayspretouch as a startup flag
btw what is it doing? i forgot lmao
I don't remember what alwayspretouch does but after a quick check its no longer something to be used, especially if you are using a panel as it can degrade performance/increase ram usage, I think was the reasoning.
Oh, gotcha. We will remove it and see how it will work. If it not crash for several days, that means this was a problem
Uh it also looks like Swap is being used for memory which is not something that should be done like ever
but maybe I'm reading it wrong
no-no, we have swap, that's correct. We should turn it off...
yeah
that can be a HUGE performance hit
tru. Is it possible to turn off a swap for an application only, not for all system?
I don't know
ah ok. Because killing swap on a machine is risky
but from what I remember if you have enough physical memory swap is never used
:stevethink:
might be something where the application needed X ram and server couldn't provide so it gave to SWAP but thats just a theory not something I can put much real evidence behind
:pepecross: