JimiIT92 / UniverseGuard2

An easy to use world protection plugin for Sponge
https://ore.spongepowered.org/Francesco_Jimi/Universe-Guard
GNU General Public License v3.0
19 stars 3 forks source link

OnEnter and OnExit flag causing ticks to take 20+ seconds #159

Closed benllben closed 3 years ago

benllben commented 3 years ago

I received a few reports last night that a server I help look after were receiving frequent, at least 1 per minute, lag spikes making it unplayable. Using Sparks tickmonitor I was able to locate a fairly consistent tick lasting for 20+ seconds so I ran a spark looking for ticks over 10s.

Turns out the Flag Greeting and Flag Exit Listener seems to be mostly responsible for this. However, we do not have a single region that uses either of these flags. Only ~15 players were online at the time, none seemed to be on any region borders which is also odd.

I am not sure what caused this but it was instantly fixed by restarting the server.

https://spark.lucko.me/#EdSYrOUUGm

benllben commented 3 years ago

This has not been replicated in 7 days, I think it is safe to say that it was a very rare case probably not worth looking at.