Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BB8C18E39 for ; Wed, 1 Jul 2015 09:54:04 +0000 (UTC) Received: (qmail 16057 invoked by uid 500); 1 Jul 2015 09:54:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16013 invoked by uid 500); 1 Jul 2015 09:54:00 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 16003 invoked by uid 99); 1 Jul 2015 09:54:00 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 09:54:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 54D331A62B6 for ; Wed, 1 Jul 2015 09:54:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ICqR4HnrcfYy for ; Wed, 1 Jul 2015 09:53:51 +0000 (UTC) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 21EDF20DB7 for ; Wed, 1 Jul 2015 09:53:51 +0000 (UTC) Received: by lbcui10 with SMTP id ui10so9470741lbc.0 for ; Wed, 01 Jul 2015 02:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WfytUrRwetk5T8A+y3OtQFNcAYicrovQ9o8t2Wwul0E=; b=GeNaFHDrcCh5dtEu9WVMVP8bYXo3s8iFWM+6IUemOWwF07qpVsnrc+ZXdfaMKa625D eUlGe4evo2zx5UKOarb/sEb/fQoIn+i6+nug/D3ZMmgzDMh9lta/4jZrTUYNJIOtxIo+ qtEejAehEMcnNpYcMRMwnh+zTuLT7fjGjAHJgxX1ydwDPeS6lpPR8N10LFoQfTXb0oSz uNDu5bjgmdC2qjCjZRZKxa0GvFS5LgU563YKKzzfIORIWrlZoLYwFjfMNDmntnKMZWV5 YcVYb2xWPxwBlX/GT3P17wYeaOp64TEuxX2oVDJg5FAh8WmZ0qWc4PBn4vp6rnMpStvn E+UQ== MIME-Version: 1.0 X-Received: by 10.152.42.230 with SMTP id r6mr22185144lal.30.1435744430619; Wed, 01 Jul 2015 02:53:50 -0700 (PDT) Received: by 10.112.247.73 with HTTP; Wed, 1 Jul 2015 02:53:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Jul 2015 15:23:50 +0530 Message-ID: Subject: Re: Error while adding a new node. From: Neha Trivedi To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a11c36780c6848f0519cd4c42 --001a11c36780c6848f0519cd4c42 Content-Type: text/plain; charset=UTF-8 Thanks I will checkout. I increased the ulimit to 100000, but I am getting the same error, but after a while. regards Neha On Wed, Jul 1, 2015 at 2:22 PM, Alain RODRIGUEZ wrote: > Just check the process owner to be sure (top, htop, ps, ...) > > > http://docs.datastax.com/en/cassandra/2.0/cassandra/install/installRecommendSettings.html#reference_ds_sxl_gf3_2k__user-resource-limits > > C*heers, > > Alain > > 2015-07-01 7:33 GMT+02:00 Neha Trivedi : > >> Arun, >> I am logging on to Server as root and running (sudo service cassandra >> start) >> >> regards >> Neha >> >> On Wed, Jul 1, 2015 at 11:00 AM, Neha Trivedi >> wrote: >> >>> Thanks Arun ! I will try and get back ! >>> >>> On Wed, Jul 1, 2015 at 10:32 AM, Arun wrote: >>> >>>> Looks like you have too many open files issue. Increase the ulimit for >>>> the user. >>>> >>>> If you are starting the cassandra daemon using user cassandra, >>>> increase the ulimit for that user. >>>> >>>> >>>> > On Jun 30, 2015, at 21:16, Neha Trivedi >>>> wrote: >>>> > >>>> > Hello, >>>> > I have a 4 node cluster with SimpleSnitch. >>>> > Cassandra : Cassandra 2.1.3 >>>> > >>>> > I am trying to add a new node (cassandra 2.1.7) and I get the >>>> following error. >>>> > >>>> > ERROR [STREAM-IN-] 2015-06-30 05:13:48,516 >>>> JVMStabilityInspector.java:94 - JVM state determined to be unstable. >>>> Exiting forcefully due to: >>>> > java.io.FileNotFoundException: /var/lib/cassandra/data/-Index.db (Too >>>> many open files) >>>> > >>>> > I increased the MAX_HEAP_SIZE then I get : >>>> > ERROR [CompactionExecutor:9] 2015-06-30 23:31:44,792 >>>> CassandraDaemon.java:223 - Exception in thread >>>> Thread[CompactionExecutor:9,1,main] >>>> > java.lang.RuntimeException: java.io.FileNotFoundException: >>>> /var/lib/cassandra/data/-Data.db (Too many open files) >>>> > at >>>> org.apache.cassandra.io.compress.CompressedThrottledReader.open(CompressedThrottledReader.java:52) >>>> ~[apache-cassandra-2.1.7.jar:2.1.7] >>>> > >>>> > Is it because of the different version of Cassandra (2.1.3 and 2.17) ? >>>> > >>>> > regards >>>> > N >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> >>> >>> >> > --001a11c36780c6848f0519cd4c42 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks I will checkout.
I increase= d the ulimit to 100000, but I am getting the same error, but after a while.=
regards
Neha


On Wed, Jul 1, 2015 at 2:= 22 PM, Alain RODRIGUEZ <arodrime@gmail.com> wrote:
C*heers,

Alain

2015-07-01 7:33 GMT+02:00 Neha Trivedi = <nehajtrived= i@gmail.com>:
Arun,
I am logging on to Server as root and run= ning (sudo service cassandra start)

regards
Neha
=

On Wed, Jul 1, 2015 at 11:00 AM, Neha Trivedi <nehajtriv= edi@gmail.com> wrote:
Thanks Arun ! I will try and get back !

On Wed, Jul 1, 2015 a= t 10:32 AM, Arun <arunsirik@gmail.com> wrote:
Looks like you have too many open files issue. Increa= se the ulimit for the user.

=C2=A0If you are starting the cassandra daemon using user cassandra, increa= se the ulimit for that user.


> On Jun 30, 2015, at 21:16, Neha Trivedi <nehajtrivedi@gmail.com> wrote:
>
> Hello,
> I have a 4 node cluster with SimpleSnitch.
> Cassandra :=C2=A0 Cassandra 2.1.3
>
> I am trying to add a new node (cassandra 2.1.7) and I get the followin= g error.
>
> ERROR [STREAM-IN-] 2015-06-30 05:13:48,516 JVMStabilityInspector.java:= 94 - JVM state determined to be unstable.=C2=A0 Exiting forcefully due to:<= br> > java.io.FileNotFoundException: /var/lib/cassandra/data/-Index.db (Too = many open files)
>
> I increased the MAX_HEAP_SIZE then I get :
> ERROR [CompactionExecutor:9] 2015-06-30 23:31:44,792 CassandraDaemon.j= ava:223 - Exception in thread Thread[CompactionExecutor:9,1,main]
> java.lang.RuntimeException: java.io.FileNotFoundException: /var/lib/ca= ssandra/data/-Data.db (Too many open files)
>=C2=A0 =C2=A0 =C2=A0at org.apache.cassandra.io.compress.CompressedThrot= tledReader.open(CompressedThrottledReader.java:52) ~[apache-cassandra-2.1.7= .jar:2.1.7]
>
> Is it because of the different version of Cassandra (2.1.3 and 2.17) ?=
>
> regards
> N
>
>
>
>
>
>
>




--001a11c36780c6848f0519cd4c42--