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 D79CE9BAB for ; Sat, 18 Feb 2012 14:58:31 +0000 (UTC) Received: (qmail 46370 invoked by uid 500); 18 Feb 2012 14:58:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 46346 invoked by uid 500); 18 Feb 2012 14:58:29 -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 46338 invoked by uid 99); 18 Feb 2012 14:58:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 14:58:29 +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 adynnn@gmail.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-lpp01m010-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 14:58:23 +0000 Received: by lahl5 with SMTP id l5so5541768lah.31 for ; Sat, 18 Feb 2012 06:58:02 -0800 (PST) Received-SPF: pass (google.com: domain of adynnn@gmail.com designates 10.112.99.100 as permitted sender) client-ip=10.112.99.100; Authentication-Results: mr.google.com; spf=pass (google.com: domain of adynnn@gmail.com designates 10.112.99.100 as permitted sender) smtp.mail=adynnn@gmail.com; dkim=pass header.i=adynnn@gmail.com Received: from mr.google.com ([10.112.99.100]) by 10.112.99.100 with SMTP id ep4mr4748056lbb.79.1329577082784 (num_hops = 1); Sat, 18 Feb 2012 06:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=e54QcOy8W9riB23kFyzEmtdb67/V9qjQY+vFz8ecnVc=; b=qdbQwzFnaWDcu3kHccuxX4t1exEpffWoilVgS0RKi6XQ/Fc9LOaEdvvrHDe83T83M+ vUbf6g0HivyGeCTJmtd3LrHGgP4/qZ3TgMFhw7vtFrLcrfoFnzVaclYnZgYgV7Hq80Rl PSidCLXNa10wH3KW4eST8W7itkXdVrsroMObY= MIME-Version: 1.0 Received: by 10.112.99.100 with SMTP id ep4mr3936015lbb.79.1329577082128; Sat, 18 Feb 2012 06:58:02 -0800 (PST) Received: by 10.112.98.229 with HTTP; Sat, 18 Feb 2012 06:58:02 -0800 (PST) In-Reply-To: References: <383A2C9B-FEB9-40F9-B77B-06052658692A@gmail.com> Date: Sat, 18 Feb 2012 20:28:02 +0530 Message-ID: Subject: Re: Newbie Question: Cassandra consuming 100% CPU on ubuntu server From: Aditya Gupta To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d0401fde3ae895b04b93e499f X-Virus-Checked: Checked by ClamAV on apache.org --f46d0401fde3ae895b04b93e499f Content-Type: text/plain; charset=ISO-8859-1 Am I installing it the right way ? While installing I didn't verify the signatures using public key. On Sat, Feb 18, 2012 at 8:21 PM, Aditya Gupta wrote: > No data at all. just a fresh installation > > > On Sat, Feb 18, 2012 at 6:57 PM, R. Verlangen wrote: > >> You might want to check your Cassandra logs, they contain important >> information that might lead you to the actual cause of the problems. >> >> 2012/2/18 Aditya Gupta >> >>> Thanks! But what about the 100% cpu consumption that is causing the >>> server to hang? >>> >>> >>> On Sat, Feb 18, 2012 at 6:19 PM, Watanabe Maki wrote: >>> >>>> I haven't use the packaged kit, but Cassandra uses half of physical >>>> memory on your system by default. >>>> You need to edit cassandra-env.sh to decrease heap size. >>>> Update MAX_HEAP_SIZE and NEW_HEAP_SIZE and restart. >>>> >>>> From iPhone >>>> >>>> >>>> On 2012/02/18, at 20:40, Aditya Gupta wrote: >>>> >>>> I just installed Cassandra on my ubuntu server by adding the following >>>> to the sources list: >>>> >>>> deb http://www.apache.org/dist/cassandra/debian 10x main >>>> deb-src http://www.apache.org/dist/cassandra/debian 10x main >>>> >>>> >>>> Soon after install I started getting OOM errors & then the server >>>> became unresponsive. I added more RAM to the server but found that >>>> cassandra was consuming 100% CPU & 1GB RAM as soon the server was being >>>> started. Why is this happening & how can get it to normal conditions ? >>>> >>>> >>> >> > --f46d0401fde3ae895b04b93e499f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am I installing it the right way ? While installing I didn't verify the= signatures using public key.

On Sat, Feb= 18, 2012 at 8:21 PM, Aditya Gupta <adynnn@gmail.com> wrote:
No data at all. just a fresh installation=A0=


= On Sat, Feb 18, 2012 at 6:57 PM, R. Verlangen <robin@us2.nl> wrot= e:
You might want to check your Cassandra logs, they contain important informa= tion that might lead you to the actual cause of the problems.

2012/2/18 Aditya Gupta &l= t;adynnn@gmail.com>
Thanks! But what about the 100% cpu consumpt= ion that is=A0causing=A0the server to hang?=A0


On Sat, Feb 18, 2012 at 6:19 PM, Watanab= e Maki <watanabe.maki@gmail.com> wrote:
I haven't = use the packaged kit, but Cassandra uses half of physical memory on your sy= stem by default.
You need to edit cassandra-env.sh to decrease heap size.
Upd= ate MAX_HEAP_SIZE and NEW_HEAP_SIZE and restart.

From iPhone

On 2012/02/18, at 20:40, Aditya Gupta <<= a href=3D"mailto:adynnn@gmail.com" target=3D"_blank">adynnn@gmail.com&g= t; wrote:

I just installed=A0Cass= andra=A0on my ubuntu server by adding the following to the sources list:


Soon aft= er install I started getting OOM errors & then the server became unresp= onsive. I added more RAM to the server but found that cassandra was consumi= ng 100% CPU & 1GB RAM as soon the server was being started. Why is this= happening & how can get it to normal conditions ?




--f46d0401fde3ae895b04b93e499f--