From dev-return-76828-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Dec 26 18:04:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3584D180674 for ; Wed, 26 Dec 2018 18:04:05 +0100 (CET) Received: (qmail 28973 invoked by uid 500); 26 Dec 2018 17:04:04 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 28960 invoked by uid 99); 26 Dec 2018 17:04:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Dec 2018 17:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B38B1C02EE for ; Wed, 26 Dec 2018 17:04:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id aOt-9DZClVq1 for ; Wed, 26 Dec 2018 17:04:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CBA15610ED for ; Wed, 26 Dec 2018 17:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9EB0CE12FE for ; Wed, 26 Dec 2018 17:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 27E5025354 for ; Wed, 26 Dec 2018 17:04:00 +0000 (UTC) Date: Wed, 26 Dec 2018 17:04:00 +0000 (UTC) From: "maoling (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(ZOOKEEPER-3211)_zookeeper_standalone_?= =?utf-8?Q?mode=EF=BC=8Cfound_a_high_level_bug_i?= =?utf-8?Q?n_kernel_of_centos7.0_=EF=BC=8Czookee?= =?utf-8?Q?per_Server's__tcp/ip_socket_connections(default_60_)_are_?= =?utf-8?Q?CLOSE=5FWAIT_=EF=BC=8Cthis_lead_to_zk_c?= =?utf-8?Q?an't_work_for_client_any_more?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-3211?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 16729104#comment-16729104 ]=20 maoling commented on ZOOKEEPER-3211: ------------------------------------ [~yss] Not a deadlock? Just a problem about the IO in your env? Is it easy to reproduce this issue? any advances? > zookeeper standalone mode=EF=BC=8Cfound a high level bug in kernel of cen= tos7.0 =EF=BC=8Czookeeper Server's tcp/ip socket connections(default 60 ) = are CLOSE_WAIT =EF=BC=8Cthis lead to zk can't work for client any more > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------- > > Key: ZOOKEEPER-3211 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3211 > Project: ZooKeeper > Issue Type: Bug > Components: server > Affects Versions: 3.4.5 > Environment: 1.zoo.cfg > server.1=3D127.0.0.1:2902:2903 > 2.kernel > kernel=EF=BC=9ALinux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP T= ue Feb 12 19:44:50 EST 2019 x86_64 x86_64 x86_64 GNU/Linux > JDK=EF=BC=9A > 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 > Reporter: yeshuangshuang > Priority: Blocker > Fix For: 3.4.5 > > Attachments: 1.log, 2018-12-09_124131.png, 2018-12-09_124210.png,= 2018-12-09_132854.png, 2018-12-09_133017.png, 2018-12-09_133049.png, 2018-= 12-09_133111.png, 2018-12-09_133131.png, 2018-12-09_133150.png, 2018-12-09_= 133210.png, 2018-12-09_133229.png, 2018-12-09_133248.png, 2018-12-09_133320= .png > > Original Estimate: 168h > Remaining Estimate: 168h > > 1.config--zoo.cfg > server.1=3D127.0.0.1:2902:2903 > 2.kernel version > version=EF=BC=9ALinux 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=EF=BC=9A > 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=EF=BC=9A > Occasionally=EF=BC=8CBut 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_wa= it to restart the zookeeper server side actively -- This message was sent by Atlassian JIRA (v7.6.3#76005)