Huge Lag Spike on player death

Discussion in 'Spigot Plugin Help' started by DDevil_, May 16, 2015.

  1. The server, which is hosted in Brazil, is fully optimized to have no lag to Brazilian players
    And everything runs fine on ~19 ms
    Code (Text):
    [13:19:40] [Netty IO #0/DEBUG]: Set listener of [email protected] to [email protected]
    [13:19:40] [Netty IO #0/DEBUG]: Enabled auto read
    [13:19:40] [Netty IO #0/DEBUG]: Enabled auto read
    [13:19:40] [Netty IO #0/DEBUG]: Set listener of [email protected] to [email protected]
    [13:19:42] [Netty IO #1/DEBUG]: Set listener of [email protected] to [email protected]
    [13:19:42] [Netty IO #1/DEBUG]: Enabled auto read
    [13:19:42] [Netty IO #1/DEBUG]: Enabled auto read
    [13:19:42] [Netty IO #1/DEBUG]: Set listener of [email protected] to [email protected]
    [13:19:44] [Netty IO #2/DEBUG]: Set listener of [email protected] to [email protected]
    [13:19:44] [Netty IO #2/DEBUG]: Enabled auto read
    [13:19:44] [Netty IO #2/DEBUG]: Enabled auto read
    [13:19:44] [Netty IO #2/DEBUG]: Set listener of [email protected] to [email protected]
    Can someone help me please? :(
     
  2. Hey! Do you mind giving any more information such as any custom plugins that your server has? If any of the plugins contains a playerdeath event listener the problem could be that its implementation is very bulky(or contains in infinite loop that sucks out all memory from other processes) and causes the lag upon the player death.

    Sources: Personal experience
     
  3. Yep, as Ukrainian_Reaper said, you probably have a plugin with a bad implemented PlayerDeath. Can you give us the timings reports ?
     
  4. Thanks for the help guys, but i've just found out the problem, it was with the SC Listener, but thanks! :)