Chicken Chunks 1.8.+

Chicken Chunks 1.8.+

31M Downloads

Chicken Chunks freezing server for +15 minutes on startup

Slind14 opened this issue · 2 comments

commented

This is based on the chicken chunks save data, on public servers the data grows a lot increasing the amount of profiles that need to be looked up and therefor increasing the server startup time.

Stacks at 2017-02-14 03:45:05 PM (uptime 17m 26s) Threads shown: 1 of 50

Server thread [SLEEPING]
java.lang.Thread.sleep(long) Thread.java (native)
com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(String[], Agent, ProfileLookupCallback) YggdrasilGameProfileRepository.java:81
net.minecraft.server.management.PlayerProfileCache.redirect$onGetGameProfile$zia000(GameProfileRepository, String[], Agent, ProfileLookupCallback) SourceFile:645
net.minecraft.server.management.PlayerProfileCache.func_187319_a(GameProfileRepository, String) SourceFile:79
net.minecraft.server.management.PlayerProfileCache.func_152655_a(String) SourceFile:140
codechicken.lib.util.ServerUtils.getGameProfile(String) ServerUtils.java:63
codechicken.lib.util.ServerUtils.isPlayerOP(String) ServerUtils.java:67
codechicken.chunkloader.manager.ChunkLoaderManager.allowOffline(String) ChunkLoaderManager.java:604
codechicken.chunkloader.manager.ChunkLoaderManager.loadPlayerChunks() ChunkLoaderManager.java:560
codechicken.chunkloader.manager.ChunkLoaderManager.load(WorldServer) ChunkLoaderManager.java:505
codechicken.chunkloader.handler.ChunkLoaderEventHandler.onChunkDataLoad(ChunkDataEvent$Load) ChunkLoaderEventHandler.java:51
net.minecraftforge.fml.common.eventhandler.ASMEventHandler_580_ChunkLoaderEventHandler_onChunkDataLoad_Load.invoke(Event) .dynamic
net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(Event) ASMEventHandler.java:90
net.minecraftforge.fml.common.eventhandler.EventBus.post(Event, boolean) EventBus.java:635
net.minecraftforge.fml.common.eventhandler.EventBus.post(Event) EventBus.java:591
net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback() ChunkIOProvider.java:98
net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(World, AnvilChunkLoader, ChunkProviderServer, int, int) ChunkIOExecutor.java:94
net.minecraft.world.gen.ChunkProviderServer.loadChunk(int, int, Runnable) ChunkProviderServer.java:115
net.minecraft.world.gen.ChunkProviderServer.func_186028_c(int, int) ChunkProviderServer.java:86
net.minecraft.world.gen.ChunkProviderServer.loadChunkForce(int, int) ChunkProviderServer.java:1076
net.minecraft.world.gen.ChunkProviderServer.redirect$onProvideChunkHead$zke000(ChunkProviderServer, int, int) ChunkProviderServer.java:672
net.minecraft.world.gen.ChunkProviderServer.func_186025_d(int, int) ChunkProviderServer.java:132
net.minecraft.world.World.func_72964_e(int, int) World.java:303
net.minecraft.world.World.func_175726_f(BlockPos) World.java:298
net.minecraft.world.World.func_175625_s(BlockPos) World.java:7034
lumien.randomthings.RandomThings.ticketsLoaded(List, World) RandomThings.java:137
net.minecraftforge.common.ForgeChunkManager.loadWorld(World) ForgeChunkManager.java:590
net.minecraftforge.common.ForgeInternalHandler.onDimensionLoad(WorldEvent$Load) ForgeInternalHandler.java:83
net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_ForgeInternalHandler_onDimensionLoad_Load.invoke(Event) .dynamic
net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(Event) ASMEventHandler.java:90
net.minecraftforge.fml.common.eventhandler.EventBus.post(Event, boolean) EventBus.java:635
org.spongepowered.mod.event.SpongeForgeEventFactory.callWorldLoadEvent(Event) SpongeForgeEventFactory.java:1211
org.spongepowered.mod.event.SpongeForgeEventFactory.callForgeEvent(Event, Class) SpongeForgeEventFactory.java:480
org.spongepowered.mod.event.SpongeModEventManager.post(Event, Class) SpongeModEventManager.java:281
org.spongepowered.mod.event.SpongeModEventManager.post(Event, boolean) SpongeModEventManager.java:326
org.spongepowered.mod.event.SpongeModEventManager.post(Event) SpongeModEventManager.java:314
org.spongepowered.common.SpongeImpl.postEvent(Event) SpongeImpl.java:141
org.spongepowered.common.world.WorldManager.createWorldFromProperties(int, ISaveHandler, WorldInfo, WorldSettings) WorldManager.java:810
org.spongepowered.common.world.WorldManager.loadAllWorlds(String, long, WorldType, String) WorldManager.java:758
net.minecraft.server.MinecraftServer.func_71247_a(String, String, long, WorldType, String) MinecraftServer.java:3461
net.minecraft.server.dedicated.DedicatedServer.func_71197_b() DedicatedServer.java:266
net.minecraft.server.MinecraftServer.run() MinecraftServer.java:431
java.lang.Thread.run() Thread.java:745

For own reference collab#1056

commented
commented

There is no way CC is loading THAT much data it would hang for 15 min. If the issue persist open a new issue.