Resolution: Awaiting Response
Affects Version/s: Minecraft 18w44a, Minecraft 19w02a
Fix Version/s: None
Whenever I start up 18w44a on a world that was created fresh for 18w43b, the server will not stay up for more than about 70 seconds. This is freshly started, with no users logged on.
My JVM options are as follows:
Here's the console output:
This is the stack trace from the offending thread:
Gnembon told me he's pretty sure that azt.a is related to "mob counting for spawn reasons." My suspicion is that there is mob overload due to some earlier snapshot not implementing a mob cap properly. But if it's spending too much time counting mobs, then it should just stop early. There's also the possibility that the watchdog bug (which Gnembon had provided a fix for) is back.
I enabled profiling (honest profiler), and here's the dominant part of the call tree:
So basically, azt::a accounted for 55% of the one minute that the server managed to stay up.
Going on the hypothesis that mob overload might be related to the problem, I restarted with a fresh empty world. It's definitely still a huge problem that we have one thread hammering the CPU at 100%. but the server manages to stay up. Now it's back to having Thread::yield wasting CPU time in a tight loop, which is the topic of