[SPIGOT-1626] Chunk Handling Overloading Server Instantly Created: 02/Mar/16  Updated: 16/Mar/16  Resolved: 05/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ryan S Assignee: Unassigned
Resolution: Fixed Votes: 9
Labels: chunks
Environment:

Ubuntu
Java 8



 Description   

Chunk handling has become much more intensive and many 1.9 servers can't handle it for long. Movement becomes very choppy and some chunks are also invisible when logging in or teleporting in the world.

http://timings.aikar.co/?url=15263802
http://timings.aikar.co/?url=15264222

Also See:
https://www.spigotmc.org/threads/lag-in-1-9-timings.127420/



 Comments   
Comment by PureTechnicality [ 16/Mar/16 ]

This is most definitely not resolved, and I feel that it should be re-opened and investigated further. My server crashes several times a day, with about 20 to 25 users online running around. 26GB RAM allocated to the process. The syncChunkLoad seems to be the root cause here.

http://timings.aikar.co/?url=15404943

Comment by Eugene [ 16/Mar/16 ]

Same problem with Spigot 1.9, latest version.
Timings: http://timings.aikar.co/?url=15392312
Intel Xeon E3-1240 v3, 32 GB, 2x240GB SSD.

Comment by Anthony Catanzaro [ 16/Mar/16 ]

Yeah I seem to be having this issue too. The server kept having these awful lag spikes. I managed to capture one in a timing, and discovered that this syncChunkLoad thing is where most of the lag seems to be coming from.

The only other error I see come up is an entity tacking error (Error: This entity is already tracked!) but I really think that it is this chunk load thing that is causing the main issues. I'm starting to think this is more of an issue that Mojang needs to fix...

Timing: http://timings.aikar.co/?url=15398918

Comment by Unknown2k [ 07/Mar/16 ]

Is there another bug report we should be watching regarding the chunk lag issues? This one is listed as resolved, but it clearly isnt.

Please Advis.e

Comment by Vardanega [ 06/Mar/16 ]

Same problem for my server

Comment by Unknown2k [ 06/Mar/16 ]

http://timings.aikar.co/?url=15312833

One of the worst timings. This is a semi-vanila server with very few plugins.

Intel i7 4.0/4.4GHZ
32GB RAM
2x240GB SSD

Comment by Unknown2k [ 06/Mar/16 ]

Thanks spigot devs for all the hard work! md_5 and Thinkofname, you guys rock! The entire spigot team is doing a great job.

As others have said, things have improved, but the TPS drops are still pretty bad with the chunksyncload timings.

If I can collect any data that would be helpful, please let me know.

Keep up the good work!

Comment by Oro [ 06/Mar/16 ]

Things are definitely much improved. We're not seeing crashes anymore, we'd have them routinely before the fix md_5 issued and posted to Mojang. Per the last two comments we are still seeing some pretty hefty tps drops from new chunk gen.

It might be entirely anecdotal but a few players exploring in boats really seems to compound it, presumably because of their speed. Not sure if temporarily slightly nerfing boat speed would take some load of world gen.

Comment by CH4MPION98 [ 06/Mar/16 ]

I have the same issue. Absolutely unplayable. Timings: http://timings.aikar.co/?url=15307604

Comment by TheD1ceMan [ 06/Mar/16 ]

Still seeing this as an issue, the latest patch doesn't seem to have helped: http://timings.aikar.co/?url=15307564

Comment by Thinkofname [ 05/Mar/16 ]

Liphius That site is not the correct place to obtain spigot. Use Buildtools http://www.spigotmc.org/wiki/buildtools/

Comment by Liphius [ 05/Mar/16 ]

Downloaded the latest patch: <link removed> and it says that I'm 4 versions behind.

Comment by md_5 [ 05/Mar/16 ]

Yes. If /version says latest then you have it.

Comment by Tee slat [ 05/Mar/16 ]

@md_5
Has your patch been applied into a spigot build yet?

I have had to seriously restrict my server because of this issue, if this issue is fixed then I'd love to know asap

Thanks

Comment by md_5 [ 05/Mar/16 ]

mibby
Do not use this tracker when you are not using Spigot.

Anyway, see https://bugs.mojang.com/browse/MC-98994

Comment by CockyBunny [ 04/Mar/16 ]

Running a 50 slot server, upped the RAM to 5gb just to be on the safe side. Insane TPS drop when players are loading chunks (pre-generated world)

Can't replicate in Vanilla with several players flying in opposite directions.

3.5gb ram, 21 players not moving too much
http://timings.aikar.co/?url=15282233

and
5gb ram, 19 players with a couple loading chunks
http://timings.aikar.co/?url=15285887

04.03 15:00:34 [Server] INFO This server is running CraftBukkit version git-Spigot-87e2f47-ef13ca4 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)

I can't seem to find any related issues that I can replicate in vanilla in the Mojang bug tracker.
Edit: render distance is set to 4

Comment by Thinkofname [ 04/Mar/16 ]

Given its a vanilla issue not really. Plus it seems to be worldgen causing the issues which is even less fun to work with.

Comment by Super Monis [ 04/Mar/16 ]

Any ETA on when this will be fixed? It's a lot more problematic then it seems.

Comment by Ryan S [ 04/Mar/16 ]

Seems slightly improved in newer versions, I'm currently only 2 versions behind. By the way, why was chunks per tick removed? Just wondering, probably has something to do with this issue.

Still 105.15% tick
http://www.spigotmc.org/go/timings?url=15277474

and
http://www.spigotmc.org/go/timings?url=15277518

Version:
03.03 19:21:18 [Server] INFO This server is running CraftBukkit version git-Spigot-dd155ed-31caee5 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)

Comment by Tee slat [ 03/Mar/16 ]

This is beyond serious
Server are almost un-runnable because of it

Comment by Super Monis [ 02/Mar/16 ]

I've been having tons of problems with lag and I think it's related to chunks, here's my thread: https://www.spigotmc.org/threads/low-timings-1-9-related.127504/#post-1355849
I run a creative server which usually gets around 500 players, I've had to cap my limit to 300 until the issue is sorted.
I have a feeling it's related to chunks, I've noticed that they don't unload properly. My server uses 3 as the view distance but with the new update it's as if I'm using 8 or something a lot higher.

I created an issue of this with the possible cause here: https://hub.spigotmc.org/jira/browse/SPIGOT-1659

Comment by Jarod Saunders [ 02/Mar/16 ]

Can confirm. In my case, I've generated the entire map with WorldBorder but simply flying around causes the server to tank. Only two plugins loaded, EssentialsX and PlugMan.

http://timings.aikar.co/?url=15266545
CraftBukkit version git-Spigot-1a196e1-a5d4a93 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT
i7-3770k, 32GB RAM (8 allocated), SSD

Comment by Thinkofname [ 02/Mar/16 ]

Mojang changed something with worldgen in 1.9, haven't figured out how they managed to slow it down so much yet.

Generated at Thu Apr 03 16:36:31 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.