Paper icon indicating copy to clipboard operation
Paper copied to clipboard

chunk task prioritisation scheduling stall

Open Primorior opened this issue 5 years ago • 56 comments

Stack trace

https://paste.gg/p/anonymous/07b1a81ebef5480fa54cfe14e65078c7

Plugin list

AutoMessage, ChestShop, CMILib, CoreProtect, DiscordSRV, EssentialsX, FarmLimiter, Fe, GroupManager, Jobs, LandLord, Multiverse-Core, Multiverse-Nether-Portals, NerfPhantoms, NuVotifier, Paintball, Protocollib, SetMotd, SilkSpawners, SimpleVoteListener, SkQuery, Skript, Vault, VoidGenerator, WDLCompanion, WorldEdit, WorldGuard

Actions to reproduce (if known)

Just logged in and this happend.. switched back to Spigot and had no issues.

Paper version

Paper 46

Agreements

  • [X] I am running the latest version of Paper available from https://papermc.io/downloads.
  • [X] I have searched for and ensured there isn't already an open issue regarding this.
  • [X] My version of Minecraft is supported by Paper.

Other

No response

Primorior avatar Jun 24 '21 11:06 Primorior

+1, Chunk Bug Not fixed yet... I also encountered the same situation.

Stabrinai avatar Jun 24 '21 11:06 Stabrinai

also still a problem for me

supertakeru avatar Jun 24 '21 11:06 supertakeru

Trace may look similar but it's not the same bug, need the full log, but, spigot won't warn you about incremental stalls, so, generally hard to say on this stuff, if you can, provide timings, etc

electronicboy avatar Jun 24 '21 11:06 electronicboy

Happened directly after logging in after start, so there are no timings :/

Primorior avatar Jun 24 '21 11:06 Primorior

if the server is still ticking, you can wait a few minutes to run it, ideally, give it a moment before trying to join, JIT warmup is still in process can can have massive impacts on performance, otherwise, need full logs

electronicboy avatar Jun 24 '21 11:06 electronicboy

https://paste.gg/p/anonymous/dc6f764010284fc69c22c5469e6ae026 full crash until I killed the java process

Primorior avatar Jun 24 '21 11:06 Primorior

full log here too https://paste.gg/p/anonymous/1cdfbdfb74964f3b96de5bfedc2689ba

Primorior avatar Jun 24 '21 11:06 Primorior

Yea, seperate issue entirely, gen thread stalled because catto

electronicboy avatar Jun 24 '21 11:06 electronicboy

We still have been unable to reproduce this, so it would be great if you could give us a timings report on the setup you get this issue (so we can get the configuration setup and some other info timings provides). Also, does this actually hard lockup your server, or does your server tick/log normal messages again at some point after the first 10 second watchdog warning appears (do you see entities moving, can you drop an item or hear place sounds, aka does it "just" lag a lot or fully crash immediately)?

kennytv avatar Jun 26 '21 10:06 kennytv

I'm going to take timings later and post them. After logging in, it kicked us after seconds of falling down into the void.

Primorior avatar Jun 26 '21 11:06 Primorior

https://timings.aikar.co/?id=f7915fc37afa4820aab1a00a65ad9fa3 Timings, updated to Paper 48, logged in after taking the timings and it doesn't crash anymore.

Primorior avatar Jun 26 '21 11:06 Primorior

Happened again, server was running fine, one of my players said he was flying in the farmworld with elytra and then ported back home (alot of hoppers, chests and villagers there), maybe helps.. Full log of it: https://paste.gg/p/anonymous/314dc98a9a7d4d0287091d285f33adcc

Primorior avatar Jun 27 '21 14:06 Primorior

do you use pterodactyl?

if so try setting the memory of the container 1 or 2 GB higher than that of the server. solved similar problem for us.

TauCu avatar Jun 29 '21 06:06 TauCu

Nope, I don't use it

Primorior avatar Jun 29 '21 14:06 Primorior

I have these errors everyday. Sometimes, when someone teleports or just join the server, then whole server freeze for 5-10 seconds and sometimes I have these errors: https://paste.gg/p/anonymous/82459c80a99b4486b2ecaa1edec9e5b1

As you can see, someone typed /home before it. I can give you a timings too: https://timings.aikar.co/?id=6b0271daa8c4413ca923f25d08092ea3#timings

I dont know what can I do, it is happening 6-20 times per 24hours. This is not usual laggs, it is just freeze, stuck. The TPS-meters shows nothing (stable 20TPS)

radekklima21 avatar Jun 29 '21 23:06 radekklima21

Had this error yesterday with Paper-68. Huge amount of errors with a crash that didn't restart the server until I killed the process and had to manually start again.

https://pastebin.com/AuMj0Pk0

SnickoDeadMC avatar Jul 02 '21 08:07 SnickoDeadMC

updated to 1.17 today. server crashes nonstop. i tried everything but could not fix it.

ScuroK avatar Jul 03 '21 19:07 ScuroK

updated to 1.17 today. server crashes nonstop. i tried everything but could not fix it.

Without giving enough information (at least server log file, plugin list) nobody will be able to help you.

Brokkonaut avatar Jul 04 '21 03:07 Brokkonaut

I know how to reproduce this issue. You must have 50-60 players playing on your server and typeing a lot of teleportation commands such as /tpa /rtp /home. After a moment your server will be freezed and crashed due to chunks loading

radekklima21 avatar Jul 04 '21 13:07 radekklima21

I know how to reproduce this issue. You must have 50-60 players playing on your server and typeing a lot of teleportation commands such as /tpa /rtp /home. After a moment your server will be freezed and crashed due to chunks loading

Around 3 players can do the same. All 3 used rtp and used the elytra with fireworks. Took only seconds to kill the server

Primorior avatar Jul 04 '21 19:07 Primorior