Closed ghost closed 2 years ago
Here are the profiling results using YourKit
https://filebin.net/yldd3lus99gcaypn
[09:15:18 INFO]: BikeShedFactory joined the game
[09:15:18 INFO]: BikeShedFactory[/127.0.0.1:34342] logged in with entity id 60 at ([world]-2123.5, 63.174430555484136, -369.0987426304581)
[09:16:22 WARN]: Can't keep up! Is the server overloaded? Running 5016ms or 100 ticks behind
[09:17:35 WARN]: Can't keep up! Is the server overloaded? Running 42565ms or 851 ticks behind
[09:18:47 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-"309b99b" (MC: 1.17) ---
[09:18:47 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[09:18:47 ERROR]: ------------------------------
[09:18:47 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[09:18:47 ERROR]: ------------------------------
[09:18:47 ERROR]: Current Thread: Server thread
[09:18:47 ERROR]: PID: 27 | Suspended: false | Native: true | State: RUNNABLE
[09:18:47 ERROR]: Stack:
[09:18:47 ERROR]: java.base@16-ea/java.lang.invoke.DirectMethodHandle.allocateInstance(DirectMethodHandle.java:521)
[09:18:47 ERROR]: java.base@16-ea/java.lang.invoke.DirectMethodHandle$Holder.newInvokeSpecial(DirectMethodHandle$Holder)
[09:18:47 ERROR]: java.base@16-ea/java.lang.invoke.Invokers$Holder.linkToTargetMethod(Invokers$Holder)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.getChunkRangeFuture(ChunkMap.java:795)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.scheduleChunkGeneration(ChunkMap.java:1276)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1183)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1173)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1173)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1173)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1173)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1173)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.getChunkRangeFuture(ChunkMap.java:791)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.scheduleChunkGeneration(ChunkMap.java:1276)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.schedule(ChunkMap.java:1183)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.getOrScheduleFuture(ChunkHolder.java:547)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.getChunkRangeFuture(ChunkMap.java:791)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkMap.prepareAccessibleChunk(ChunkMap.java:1468)
[09:18:47 ERROR]: app//net.minecraft.server.level.ChunkHolder.updateFutures(ChunkHolder.java:687)
[09:18:47 ERROR]: app//net.minecraft.server.level.DistanceManager.runAllUpdates(DistanceManager.java:130)
[09:18:47 ERROR]: app//net.minecraft.server.level.ServerChunkCache.runDistanceManagerUpdates(ServerChunkCache.java:667)
[09:18:47 ERROR]: app//net.minecraft.server.level.ServerChunkCache.saveIncrementally(ServerChunkCache.java:709)
[09:18:47 ERROR]: app//net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1021)
[09:18:47 ERROR]: app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1435)
[09:18:47 ERROR]: app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1180)
[09:18:47 ERROR]: app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[09:18:47 ERROR]: app//net.minecraft.server.MinecraftServer$$Lambda$3665/0x000000080087e8f8.run(Unknown Source)
[09:18:47 ERROR]: java.base@16-ea/java.lang.Thread.run(Thread.java:831)
[09:18:47 ERROR]: ------------------------------
[09:18:47 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[09:18:47 ERROR]: ------------------------------
[09:18:57 INFO]: BikeShedFactory lost connection: Disconnected
[09:18:57 INFO]: BikeShedFactory left the game
[09:19:07 WARN]: Can't keep up! Is the server overloaded? Running 62060ms or 1241 ticks behind
[09:19:42 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-"309b99b" (MC: 1.17) ---
[09:19:42 ERROR]: The server has not responded for 24 seconds! Creating thread dump
[09:19:42 ERROR]: ------------------------------
[09:19:42 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[09:19:42 ERROR]: ------------------------------
[09:19:42 ERROR]: Current Thread: Server thread
[09:19:42 ERROR]: PID: 27 | Suspended: false | Native: true | State: RUNNABLE
[09:19:42 ERROR]: Stack:
[09:19:42 ERROR]: app//it.unimi.dsi.fastutil.longs.LongAVLTreeSet.subSet(LongAVLTreeSet.java:1078)
[09:19:42 ERROR]: app//net.minecraft.world.level.entity.EntitySectionStorage.forEachAccessibleSection(EntitySectionStorage.java:47)
[09:19:42 ERROR]: app//net.minecraft.world.level.entity.EntitySectionStorage.getEntities(EntitySectionStorage.java:126)
[09:19:42 ERROR]: app//net.minecraft.world.level.entity.LevelEntityGetterAdapter.get(LevelEntityGetterAdapter.java:46)
[09:19:42 ERROR]: app//net.minecraft.world.level.Level.getEntities(Level.java:989)
[09:19:42 ERROR]: app//net.minecraft.world.level.EntityGetter.getEntityCollisions(EntityGetter.java:58)
[09:19:42 ERROR]: app//net.minecraft.world.level.CommonLevelAccessor.getEntityCollisions(CommonLevelAccessor.java:28)
[09:19:42 ERROR]: app//net.minecraft.world.entity.Entity.collide(Entity.java:1081)
[09:19:42 ERROR]: app//net.minecraft.world.entity.Entity.move(Entity.java:844)
[09:19:42 ERROR]: app//net.minecraft.world.entity.LivingEntity.handleRelativeFrictionAndCalculateMovement(LivingEntity.java:2771)
[09:19:42 ERROR]: app//net.minecraft.world.entity.LivingEntity.travel(LivingEntity.java:2726)
[09:19:42 ERROR]: app//net.minecraft.world.entity.monster.Strider.travelWithInput(Strider.java:284)
[09:19:42 ERROR]: app//net.minecraft.world.entity.ItemSteerable.travel(ItemSteerable.java:25)
[09:19:42 ERROR]: app//net.minecraft.world.entity.monster.Strider.travel(Strider.java:270)
[09:19:42 ERROR]: app//net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3188)
[09:19:42 ERROR]: app//net.minecraft.world.entity.Mob.aiStep(Mob.java:620)
[09:19:42 ERROR]: app//net.minecraft.world.entity.AgeableMob.aiStep(AgeableMob.java:154)
[09:19:42 ERROR]: app//net.minecraft.world.entity.animal.Animal.aiStep(Animal.java:59)
[09:19:42 ERROR]: app//net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2874)
[09:19:42 ERROR]: app//net.minecraft.world.entity.Mob.tick(Mob.java:388)
[09:19:42 ERROR]: app//net.minecraft.world.entity.monster.Strider.tick(Strider.java:330)
[09:19:42 ERROR]: app//net.minecraft.world.entity.Entity.rideTick(Entity.java:2262)
[09:19:42 ERROR]: app//net.minecraft.world.entity.LivingEntity.rideTick(LivingEntity.java:3378)
[09:19:42 ERROR]: app//net.minecraft.server.level.ServerLevel.tickPassenger(ServerLevel.java:977)
[09:19:42 ERROR]: app//net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:952)
[09:19:42 ERROR]: app//net.minecraft.server.level.ServerLevel$$Lambda$4465/0x0000000800c930b8.accept(Unknown Source)
[09:19:42 ERROR]: app//net.minecraft.world.level.Level.guardEntityTick(Level.java:857)
[09:19:42 ERROR]: app//net.minecraft.server.level.ServerLevel.lambda$tick$5(ServerLevel.java:639)
[09:19:42 ERROR]: app//net.minecraft.server.level.ServerLevel$$Lambda$4445/0x0000000800d85010.accept(Unknown Source)
[09:19:42 ERROR]: app//net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
[09:19:42 ERROR]: app//net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:620)
[09:19:42 ERROR]: app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1551)
[09:19:42 ERROR]: app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:476)
[09:19:42 ERROR]: app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1404)
[09:19:42 ERROR]: app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1180)
[09:19:42 ERROR]: app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320)
[09:19:42 ERROR]: app//net.minecraft.server.MinecraftServer$$Lambda$3665/0x000000080087e8f8.run(Unknown Source)
[09:19:42 ERROR]: java.base@16-ea/java.lang.Thread.run(Thread.java:831)
[09:19:42 ERROR]: ------------------------------
[09:19:42 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[09:19:42 ERROR]: ------------------------------
[09:19:45 WARN]: Can't keep up! Is the server overloaded? Running 8653ms or 173 ticks behind
+1 also experiencing this issue
Same I also have this issue
Confirmed that I am having the same issue
If you can reproduce it please provide more info than just "same":
1) Is this a new world or an upgraded world?
2) Any plugins?
3) What is your exact /version
output?
I'm having the same issue on a new world, with no plugins, on Paper build 5
I am also able to reproduce this issue.
#17
(33d6b6f)Please leave a reaction on the initial comment rather than creating a new comment if you are able to reproduce, unless you have new information to add.
I am also having this issue on my survival world that was previously 1.16.5
I also had this issue and was redirected to #5910
Is this still happening on >= build 46?
I am able to reproduce this issue.
Completely new world No Plugins Paper Build 46
I've been unable to replicate this on Paper Build 46 as compared to previous versions.
I am now unable to replicate this on build 53
For build 53 The issue has now basically been resolved. I only see "waiting for chunks" for a max of about 3 seconds from my small testing which is a huge improvement (and could also just be lag).
I'm also on build 53 and i have a similar issue i think. Basically everytime somebody teleports into a unloaded area or joins the server, the server stands still for ~2secs. It also takes this long for any Chunks to load. In the Timings Viewer this appears as "Sync Chunk Load" i believe.
https://timings.aikar.co/?id=eba2aae4be4345cf8a4c1b4782072eea
Same deal here, mostly after going through nether portals. The chunks around the one I am standing in load first. Then, eventually, the chunk I am standing is sent to the client and loads. Once that is done the chunks seem to load perfectly fine and fast, just not after a teleport for whatever reason.
Edit: Tested with 1.17 build 64
Generally no longer relevant especially as Tuinity has been merged into Paper since 1.17.1. Please open a new issue or leave a comment should you still be experiencing this on 1.18.2.
Timings or Profile link
https://timings.aikar.co/?id=4027290e45cd4afdb41c54977bf5422c#timings
Description of issue
Most times I go through a nether portal, both overworld to nether and nether to overworld, the world is blank and the client says "Waiting for chunk" in F3.
Plugin list
none
Server config files
Paper version
This server is running Paper version git-Paper-"309b99b" (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT) Error obtaining version information
Agreements
Other
No response