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

ZooKeeper Server leaks "SyncThread" threads when leadership connection times out and is reestablished

    XMLWordPrintableJSON

Details

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

    Description

      In a production environment with some connectivity problems it was found the ZooKeeper server was using over 1000 threads with name "SyncThread" (that were never being freed).

      Looking through the server logs indicates that these nodes were experiencing connection timeouts to the leader.

      A test environment (described below in the "environment" field of this ticket) showed that these connection timeouts are what seem to be leaking these threads.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Ryan0751 Ryan Ruel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: