Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A297D200D5A for ; Thu, 14 Dec 2017 15:13:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A11CA160C04; Thu, 14 Dec 2017 14:13:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E8347160C01 for ; Thu, 14 Dec 2017 15:13:09 +0100 (CET) Received: (qmail 43809 invoked by uid 500); 14 Dec 2017 14:13:09 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 43798 invoked by uid 99); 14 Dec 2017 14:13:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2017 14:13:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 966EC180791 for ; Thu, 14 Dec 2017 14:13:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hL61iYpyqFCA for ; Thu, 14 Dec 2017 14:13:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A3B7D5F474 for ; Thu, 14 Dec 2017 14:13:03 +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 34FD3E093C for ; Thu, 14 Dec 2017 14:13:03 +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 3A9BC212F5 for ; Thu, 14 Dec 2017 14:13:00 +0000 (UTC) Date: Thu, 14 Dec 2017 14:13:00 +0000 (UTC) From: "James E. King, III (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (THRIFT-4230) Thrift server connection may hang forever MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 14 Dec 2017 14:13:10 -0000 [ https://issues.apache.org/jira/browse/THRIFT-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290889#comment-16290889 ] James E. King, III commented on THRIFT-4230: -------------------------------------------- Hi [~jegenberger], this doesn't ring a bell for me, however there still isn't enough information in the bug report to go on. So far we know it was Thrift 0.9.3 and python, and I'm assuming that means python server. Which server was being used? Nonblocking, Process pool, http? Which transport? Socket, SSLSocket, twisted? Can it be boiled down to a simple example? It looks like it could. Would THRIFT-3634 have addressed this? > Thrift server connection may hang forever > ----------------------------------------- > > Key: THRIFT-4230 > URL: https://issues.apache.org/jira/browse/THRIFT-4230 > Project: Thrift > Issue Type: Bug > Components: Python - Library > Affects Versions: 0.9.3 > Environment: OS: RHEL 7.2 > Reporter: Egor Kromberg > > After a lot of tests with HBASE Thrift server we found a problem. > If the connection is dropped on the client side (using route or iptables) it may be still opened on the Thrift server side. Such situation will occur in case of unstable connection. > After several iterations the Thrift server application will have a lot of opened connections and *will not accept *any new one. The only WA found is to restart the Thrift server. > I believe Thrift server should have something like socket timeouts and heartbeats. -- This message was sent by Atlassian JIRA (v6.4.14#64029)