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 6BC6BD5FD for ; Wed, 29 Aug 2012 16:54:08 +0000 (UTC) Received: (qmail 96403 invoked by uid 500); 29 Aug 2012 16:54:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 96376 invoked by uid 500); 29 Aug 2012 16:54:08 -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 96367 invoked by uid 99); 29 Aug 2012 16:54:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 16:54:08 +0000 Date: Thu, 30 Aug 2012 03:54:08 +1100 (NCT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1340961334.12540.1346259248221.JavaMail.jiratomcat@arcas> In-Reply-To: <551434938.6420.1345742502705.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CASSANDRA-4571) Strange permament socket descriptors increasing leads to "Too many open files" 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-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444197#comment-13444197 ] Jonathan Ellis commented on CASSANDRA-4571: ------------------------------------------- Are you sure you can't reproduce on a single-node cluster? Because we're getting conflicting evidence here; on the one hand, strace indicates that the fd leakage is related to file i/o, but if so, you shouldn't need multiple nodes in the cluster to repro. > Strange permament socket descriptors increasing leads to "Too many open files" > ------------------------------------------------------------------------------ > > Key: CASSANDRA-4571 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4571 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.1.1, 1.1.2, 1.1.3 > Environment: CentOS 5.8 Linux 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux. > java version "1.6.0_33" > Java(TM) SE Runtime Environment (build 1.6.0_33-b03) > Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) > Reporter: Serg Shnerson > Priority: Critical > > On the two-node cluster there was found strange socket descriptors increasing. lsof -n | grep java shows many rows like" > java 8380 cassandra 113r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 114r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 115r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 116r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 117r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 118r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 119r unix 0xffff8101a374a080 938348482 socket > java 8380 cassandra 120r unix 0xffff8101a374a080 938348482 socket > " And number of this rows constantly increasing. After about 24 hours this situation leads to error. > We use PHPCassa client. Load is not so high (aroud ~50kb/s on write). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira