Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C027F1027F for ; Mon, 28 Oct 2013 19:42:33 +0000 (UTC) Received: (qmail 47775 invoked by uid 500); 28 Oct 2013 19:42:32 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 47684 invoked by uid 500); 28 Oct 2013 19:42:31 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 47663 invoked by uid 99); 28 Oct 2013 19:42:30 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 19:42:30 +0000 Date: Mon, 28 Oct 2013 19:42:30 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CASSANDRA-6259) Cassandra 2.0.1 server has too many tcp connections in CLOSE_WAIT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams reassigned CASSANDRA-6259: ------------------------------------------- Assignee: Sylvain Lebresne Looks like a possible problem closing sockets in the native transport. > Cassandra 2.0.1 server has too many tcp connections in CLOSE_WAIT > ----------------------------------------------------------------- > > Key: CASSANDRA-6259 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6259 > Project: Cassandra > Issue Type: Bug > Reporter: Prateek > Assignee: Sylvain Lebresne > Priority: Critical > > We are using cassandra 2.0.1 server with cascading client. The cassandra tap used is https://github.com/ifesdjeen/cascading-cassandra (1.0.0-rc6). The problem arises after the server is running for a few days. The server has 100,000+ connections in tcp CLOSE_WAIT state and cannot accept any more connections. All map reduce jobs start failing. This seems to be a bug with cassandra 2.0.1 server not closing connections properly. > [(bloomreach-ami) ubuntu@ip-10-91-15-6 :/mnt/cassandra/data]# lsof -n | grep java | grep CLOSE_WAIT | wc -l > 116321 > java 25427 ubuntu *537u IPv4 9337512 0t0 TCP 10.91.15.6:9042->10.171.11.168:34217 (CLOSE_WAIT) > java 25427 ubuntu *540u IPv4 9107933 0t0 TCP 10.91.15.6:9042->10.92.99.19:45820 (CLOSE_WAIT) > java 25427 ubuntu *543u IPv4 9110100 0t0 TCP 10.91.15.6:9042->10.86.106.249:47585 (CLOSE_WAIT) > java 25427 ubuntu *544u IPv4 9110072 0t0 TCP 10.91.15.6:9042->10.86.106.249:47364 (CLOSE_WAIT) > java 25427 ubuntu *546u IPv4 9110110 0t0 TCP 10.91.15.6:9042->10.92.99.19:46162 (CLOSE_WAIT) > java 25427 ubuntu *547u IPv4 9110093 0t0 TCP 10.91.15.6:9042->10.86.106.249:47518 (CLOSE_WAIT) > java 25427 ubuntu *548u IPv4 9337583 0t0 TCP 10.91.15.6:9042->10.171.11.168:34361 (CLOSE_WAIT) > java 25427 ubuntu *549u IPv4 9110114 0t0 TCP 10.91.15.6:9042->10.92.99.19:46212 (CLOSE_WAIT) > java 25427 ubuntu *551u IPv4 9110117 0t0 -- This message was sent by Atlassian JIRA (v6.1#6144)