Server crash when loggin in at base(spawn chunks) or walking into it
clytemnestra opened this issue ยท 2 comments
Hello, my server crashes every time I log into my base or walk near it. I edited my char file to tp me out of it and it works fine, but as soon as I walk near/into it, it just crashes. I managed to get a crash report out of it, if it is helpful. I believe it has something to do with RefinedStorage, or exporters, or maybe something else.. am not sure.
crash-2023-12-15_15.04.02-server.txt
Edit: to explain, it was timing me out and not letting me log back in, server considering me still logged in and only way to log back in was to restart the server. However, logging in was timing me out after 2 seconds, so edited the char files to tp me out and far away and managed to get back in. After that, I get that issue that walking into my base times me out again and have to restart server, so set the max-tick-time to 10 seconds instead of infinite and that generated the crash log above. Quite the adventure..
The only way to fix it is to run regionfixer 2-3 times, and then and only then am I able to log in without issues, however one of my netherite crafters is emptied when it was full of recipes, so that's why I am thinking it might be because of RefinedStorage
I'm not an expert at reading logs but this crash log involve a zombie wandering around, but it can't move due to something preventing its motion.
Crash logs are arranged in reverse order, the first action is at the bottom, you look through it bottom to top. As a non-expert you can ignore everything past the first "(" on each line.
Bottom lines are all normal minecraft stuff. Server ticks, it scans for things that need to update each tick.
at java.lang.Thread.run
at net.minecraft.server.MinecraftServer$$Lambda$55851/0x000000080647a7d8.run
at net.minecraft.server.MinecraftServer.m_206580_
at net.minecraft.server.MinecraftServer.m_130011_
at net.minecraft.server.MinecraftServer.m_5705_
at net.minecraft.server.dedicated.DedicatedServer.m_5703_
at net.minecraft.server.MinecraftServer.m_5703_
at net.minecraft.server.level.ServerLevel.m_8793_
There's a list of entities that need to update for each tick:
at net.minecraft.world.level.entity.EntityTickList.m_156910_
at net.minecraft.server.level.ServerLevel$$Lambda$59192/0x00000008068c6410.accept
at net.minecraft.server.level.ServerLevel.m_184063_
at net.minecraft.world.level.Level.m_46653_
at net.minecraft.server.level.ServerLevel$$Lambda$59581/0x00000008069306b0.accept
at net.minecraft.server.level.ServerLevel.m_8647_
This part I'm not sure about but track and passenger suggests minecarts or Create rails..
at net.minecraft.server.level.ServerLevel.redirect$bpj000$onTickNonPassenger
at net.minecraft.server.level.ServerLevel.track
at net.minecraft.server.level.ServerLevel$$Lambda$59583/0x0000000806930d48.accept
So it's handling the actions of a zombie in the entity tick list.
at net.minecraft.world.entity.monster.Zombie.m_8119_
at net.minecraft.world.entity.Mob.m_8119_
at net.minecraft.world.entity.LivingEntity.m_8119_
at net.minecraft.world.entity.monster.Zombie.m_8107_
at net.minecraft.world.entity.monster.Monster.m_8107_
at net.minecraft.world.entity.Mob.m_8107_
at net.minecraft.world.entity.LivingEntity.m_8107_
at net.minecraft.world.entity.LivingEntity.m_7023_
at net.minecraft.world.entity.LivingEntity.m_21074_
at net.minecraft.world.entity.Entity.m_6478_
at net.minecraft.world.entity.Entity.m_20272_
at net.minecraft.world.entity.Entity.m_198894_
The zombie is apparently trying to move, but it can't due to collision with something in its way
at com.google.common.collect.ImmutableList$Builder.addAll
at com.google.common.collect.ImmutableCollection$Builder.addAll
at com.google.common.collect.AbstractIterator.hasNext
at com.google.common.collect.AbstractIterator.tryToComputeNext
at net.minecraft.world.level.BlockCollisions.computeNext
at net.minecraft.world.level.BlockCollisions.computeNext
at net.minecraft.world.level.BlockCollisions.m_186411_
at net.minecraft.world.level.Level.m_7925_
at net.minecraft.world.level.Level.m_6522_
Server has spent 100 seconds processing this tick. A server watchdog event triggered to stop the server.
java.lang.Error: ServerHangWatchdog detected that a single server tick took 100.00 seconds (should be max 0.05)
You can try increasing the server watchdog timeout in server properties, or set it to zero so that it waits forever. This will not fix anything but it may eventually slog through whatever is making it tick so slowly.
hmm I intentionally set the watchtog to that value to get crash logs, otherwise server wasn't crashing but timing me out, instead, and making me unable to log in unless restart it completely.
If it's a stuck zombie, then I assume it might be my mob farm, although I did chunkload it all, so all spawned mobs in it go into the running mobgrinder. I assume it's running while I am far away and when I port back home some black magic makes the entities/zombie stuck, maybe? Maybe the grinder doesn't work when outside its range or chunkloaded, and server can't process it.
But thank you for the info, will investigate further with that in mind. It seems regionfixer with max 10 entity limit fixes it, although it empties one of my netherite crafters of patterns for some reason...