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

Connection imbalance leads to overloaded ZK instances

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.6.0, 3.5.5
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              mahadev Mahadev konar
              Reporter:
              traviscrawford Travis Crawford
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: