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

zookeeper standalone mode,found a high level bug in kernel of centos7.0 ,zookeeper Server's tcp/ip socket connections(default 60 ) are CLOSE_WAIT ,this lead to zk can't work for client any more

    XMLWordPrintableJSON

Details

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

    Description

      1.config--zoo.cfg
      server.1=127.0.0.1:2902:2903
      2.kernel version
      version:Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Tue Feb 12 19:44:50 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
      JDK:
      java version "1.7.0_181"
      OpenJDK Runtime Environment (rhel-2.6.14.5.el7-x86_64 u181-b00)
      OpenJDK 64-Bit Server VM (build 24.181-b00, mixed mode)
      zk: 3.4.5
      3.bug details:
      Occasionally,But the recurrence probability is extremely high. At first, the read-write timeout takes about 6s, and after a few minutes, all connections (including long ones) will be CLOSE_WAIT state.

      4.:Circumvention scheme: it is found that all connections become close_wait to restart the zookeeper server side actively

      Attachments

        1. 1.log
          7 kB
          yeshuangshuang
        2. 2018-12-09_124131.png
          16 kB
          yeshuangshuang
        3. 2018-12-09_124210.png
          10 kB
          yeshuangshuang
        4. 2018-12-09_132854.png
          12 kB
          yeshuangshuang
        5. 2018-12-09_133017.png
          18 kB
          yeshuangshuang
        6. 2018-12-09_133049.png
          49 kB
          yeshuangshuang
        7. 2018-12-09_133111.png
          14 kB
          yeshuangshuang
        8. 2018-12-09_133131.png
          16 kB
          yeshuangshuang
        9. 2018-12-09_133150.png
          10 kB
          yeshuangshuang
        10. 2018-12-09_133210.png
          14 kB
          yeshuangshuang
        11. 2018-12-09_133229.png
          13 kB
          yeshuangshuang
        12. 2018-12-09_133248.png
          14 kB
          yeshuangshuang
        13. 2018-12-09_133320.png
          12 kB
          yeshuangshuang
        14. zookeeper.log
          195 kB
          yeshuangshuang

        Activity

          People

            Unassigned Unassigned
            yss yeshuangshuang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified