Chicken-Bones / ChickenChunks

MIT License
27 stars 24 forks source link

Long world startup time #39

Open unlucku opened 8 years ago

unlucku commented 8 years ago

Cauldron Forge 1348 ChickenChunks-1.7.10-1.3.4.16-universal.jar

This issue occurs after the server has been running for sometime. When the world loads, and it is at ¨Loading Dimension....¨, the server just hangs there. The time of the hang depends largely on how long the server has been running. After further testing, it seems that deleting the chicknchunks folder inside the world save folder, makes the hang go away, its almost an instantaneous process. However, after some time, the hang returns... No idea whats causing this.

juniorjunior commented 7 years ago

Putting this here for posterity in case someone else runs across the same issue. Removing the two files in the /world/chickenchunks/ folder does indeed let the server start up as expected. Here's a WarmRoast output of what the server is (or in this case, isn't) doing during the hang:

slowstart

It's seems that ChickenChunks is trying to do an auth server request for every user found in the players.dat file (maybe). On a server that has had 1000s of players it's easy to see why this could be a problem. My players.dat file was 42K. Removing those two files seems to have had no ill effects on the server other than to reduce the start time from 20 minutes to 30 seconds.