Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-434

Netty Thread blocked on "Lobby" servers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Debian 7.5 Java 7

      I'm hosting a network with 40 hubs and 7000 online players, this happens when too much player are logged on the network and generate an important traffic between lobby<>gameserver.

      The bungee loadbalance all the players on this lobbys depending of the count.

      I have huge lag spike with TPS drop, the asyncChatEvent is frozen too, I've tried to get timings > http://timings.aikar.co/?url=9762387
      Not usefull the main threads seem blocked

      So I've installed yourkit and began to profile, when this happen all the netty are blocked...

      The cpu was fine (see attachement), but the 4 netty thread are blocked...

      For information when this happened the server had something like 50 players on and the 4 other spigot instance 20 to 30 players on.

      The only "thing" that is common in this issue is then it happen when we reach enough online players (6500) to have a high traffic between lobby<>gameserver.

      If i have 5000 online and 100 players on the same 5 lobby hosted on the same server there's no problem... so maybe something happen with the asyncPreLoginEvent Is use to load players datas...

      Attached > the screens and the snapshot from yourkit.

        1. blocked.png
          blocked.png
          48 kB
        2. LmRWcNLL.txt
          20 kB
        3. screen.png
          screen.png
          50 kB
        4. spigot-2015-01-17-1.rar
          2.64 MB

            Thinkofdeath Thinkofname
            Likaos Likaos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: