Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-856

Connection imbalance leads to overloaded ZK instances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      We've experienced a number of issues lately where "ruok" requests would take upwards of 10 seconds to return, and ZooKeeper instances were extremely sluggish. The sluggish instance requires a restart to make it responsive again.

      I believe the issue is connections are very imbalanced, leading to certain instances having many thousands of connections, while other instances are largely idle.

      A potential solution is periodically disconnecting/reconnecting to balance connections over time; this seems fine because sessions should not be affected, and therefore ephemaral nodes and watches should not be affected.

      Attachments

        1. zk_open_file_descriptor_count_members.gif
          47 kB
          Travis Crawford
        2. zk_open_file_descriptor_count_total.gif
          28 kB
          Travis Crawford

        Activity

          People

            mahadev Mahadev Konar
            traviscrawford Travis Crawford
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: