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 EC167172A2 for ; Fri, 10 Jul 2015 08:02:35 +0000 (UTC) Received: (qmail 24319 invoked by uid 500); 10 Jul 2015 08:02:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 24282 invoked by uid 500); 10 Jul 2015 08:02:32 -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 24272 invoked by uid 99); 10 Jul 2015 08:02:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 08:02:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kgangakhedkar@gmail.com designates 209.85.160.182 as permitted sender) Received: from [209.85.160.182] (HELO mail-yk0-f182.google.com) (209.85.160.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 08:00:18 +0000 Received: by ykee186 with SMTP id e186so56922073yke.2 for ; Fri, 10 Jul 2015 01:02:05 -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=oHw2J8ccTncfkdHMkK7spI65AFVZYBGQvvt5EzehdyU=; b=t6nYorBt00khy2IlOICZApGov0kbYyvwV8zpLXJpE8aRxMvSWGh546CAYtkjnWQeb7 DQBx5M+bqr8FHsM5laHIWzcB0+CceUYXaldEsnBpcjvlS/MNvD0DocHdOYUPOcVccm+H I3gpxWJW5jE07qPM0DMvfVC0SH925axvILuQI1HdEHWVrXP/YO01HegKJM1GG852nilV i4t5JZI7/DhTxntkOrTZIuK1p8d+pDUOlVmcQ52AJZ01eVbwmO30SLz3vwRMCATmH1Lc c0Kz1ESrFhThnn09c1skYxk1j+dzIwLYQCUVaMTqmmyeLa2oZjMnU1zC6ymrtMoY6Ipp cz4w== MIME-Version: 1.0 X-Received: by 10.170.70.66 with SMTP id m63mr21958464ykm.108.1436515325765; Fri, 10 Jul 2015 01:02:05 -0700 (PDT) Received: by 10.129.125.130 with HTTP; Fri, 10 Jul 2015 01:02:05 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jul 2015 13:32:05 +0530 Message-ID: Subject: Re: Cassandra OOM on joining existing ring From: Kunal Gangakhedkar To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1139cf14b4f188051a80c96c X-Virus-Checked: Checked by ClamAV on apache.org --001a1139cf14b4f188051a80c96c Content-Type: text/plain; charset=UTF-8 Forgot to mention: the data size is not that big - it's barely 10GB in all. Kunal On 10 July 2015 at 13:29, Kunal Gangakhedkar wrote: > Hi, > > I have a 2 node setup on Azure (east us region) running Ubuntu server > 14.04LTS. > Both nodes have 8GB RAM. > > One of the nodes (seed node) died with OOM - so, I am trying to add a > replacement node with same configuration. > > The problem is this new node also keeps dying with OOM - I've restarted > the cassandra service like 8-10 times hoping that it would finish the > replication. But it didn't help. > > The one node that is still up is happily chugging along. > All nodes have similar configuration - with libjna installed. > > Cassandra is installed from datastax's debian repo - pkg: dsc21 version > 2.1.7. > I started off with the default configuration - i.e. the default > cassandra-env.sh - which calculates the heap size automatically (1/4 * RAM > = 2GB) > > But, that didn't help. So, I then tried to increase the heap to 4GB > manually and restarted. It still keeps crashing. > > Any clue as to why it's happening? > > Thanks, > Kunal > --001a1139cf14b4f188051a80c96c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Forgot to mention: the data size is not that big - it'= s barely 10GB in all.

=
Kunal

On 10 July 2015 at 13:29, Kunal Gangakhedkar= <kgangakhedkar@gmail.com> wrote:
Hi,<= br>
I have a 2 node setup on Azure (east us region) running Ubuntu= server 14.04LTS.
Both nodes have 8GB RAM.

One o= f the nodes (seed node) died with OOM - so, I am trying to add a replacemen= t node with same configuration.

The problem is this new node a= lso keeps dying with OOM - I've restarted the cassandra service like 8-= 10 times hoping that it would finish the replication. But it didn't hel= p.

The one node that is still up is happily chugging along.
All nodes have similar configuration - with libjna installed.
Cassandra is installed from datastax's debian repo - pkg: d= sc21 version 2.1.7.
I started off with the default configuration -= i.e. the default cassandra-env.sh - which calculates the heap size automat= ically (1/4 * RAM =3D 2GB)

But, that didn't help. So, I th= en tried to increase the heap to 4GB manually and restarted. It still keeps= crashing.

Any clue as to why it's happening?

Thanks,
Kunal

--001a1139cf14b4f188051a80c96c--