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 B31DD933A for ; Sun, 19 Feb 2012 19:56:20 +0000 (UTC) Received: (qmail 18728 invoked by uid 500); 19 Feb 2012 19:56:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 18705 invoked by uid 500); 19 Feb 2012 19:56:18 -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 18697 invoked by uid 99); 19 Feb 2012 19:56:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2012 19:56:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,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; Sun, 19 Feb 2012 19:56:11 +0000 Received: by lahl5 with SMTP id l5so6395939lah.31 for ; Sun, 19 Feb 2012 11:55:51 -0800 (PST) Received-SPF: pass (google.com: domain of adynnn@gmail.com designates 10.112.36.166 as permitted sender) client-ip=10.112.36.166; Authentication-Results: mr.google.com; spf=pass (google.com: domain of adynnn@gmail.com designates 10.112.36.166 as permitted sender) smtp.mail=adynnn@gmail.com; dkim=pass header.i=adynnn@gmail.com Received: from mr.google.com ([10.112.36.166]) by 10.112.36.166 with SMTP id r6mr6463341lbj.4.1329681351069 (num_hops = 1); Sun, 19 Feb 2012 11:55:51 -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=bjnuO1NKcUhI1LTom6q3zfHOrRmHTypWg4cqs6FGAFE=; b=YlvcZ90kB0pv684n+I4oeCHEudpr0LgWFgd9mMA5A8O3/v9t2oeqqV0vm/xQONrvLD OrHq4dugKVir2NiP5tKLPl+bcmzKGu8/Fq0FRF1ESmXmkzCf0dWmLDbO/eSeKT3v/wbC Ax8AN7REeaWbl147/JaR6UKwxMe/eFFavDGKg= MIME-Version: 1.0 Received: by 10.112.36.166 with SMTP id r6mr5368158lbj.4.1329681350004; Sun, 19 Feb 2012 11:55:50 -0800 (PST) Received: by 10.112.19.169 with HTTP; Sun, 19 Feb 2012 11:55:49 -0800 (PST) In-Reply-To: References: <383A2C9B-FEB9-40F9-B77B-06052658692A@gmail.com> <4F3FD93F.2070700@gmail.com> Date: Mon, 20 Feb 2012 01:25:49 +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=e0cb4efe33e288116804b9569062 X-Virus-Checked: Checked by ClamAV on apache.org --e0cb4efe33e288116804b9569062 Content-Type: text/plain; charset=ISO-8859-1 Is there anything to do with running cassandra on a VMware ubuntu instance !? I am trying Cassandra on VMware ubuntu server instance. On Sun, Feb 19, 2012 at 2:45 AM, Aditya Gupta wrote: > In my case, after installing cassandra, as soon as the server is started > it hangs on it own (totally unresponsive). > > It had openJDK-6's jdk & jre implementations. > > > On Sat, Feb 18, 2012 at 10:30 PM, Guy Incognito wrote: > >> perhaps entirely unrelated, but somebody was asking about lockups on EC2 >> yesterday and found: http://wiki.apache.org/cassandra/FAQ#ubuntu_hangs >> >> >> On 18/02/2012 14:58, Aditya Gupta wrote: >> >> 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 < >>>>> watanabe.maki@gmail.com> 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 ? >>>>>> >>>>>> >>>>> >>>> >>> >> >> > --e0cb4efe33e288116804b9569062 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there anything to do with=A0running=A0cassandra on a VMware ubuntu insta= nce !? I am trying Cassandra on VMware ubuntu server instance.

On Sun, Feb 19, 2012 at 2:45 AM, Aditya Gupta <adynnn@gmail.com>= wrote:
In my case, after installing cassandra, as s= oon as the server is started it hangs on it own (totally unresponsive).
It had openJDK-6's jdk & jre implementations.


On Sat, Feb 18, 2012 at = 10:30 PM, Guy Incognito <dnd1066@gmail.com> wrote:
=20 =20 =20
perhaps entirely unrelated, but somebody was asking about lockups on EC2 yesterday and found: http://wiki.apache.org/cassandra/FAQ#ubuntu_hangs

On 18/02/2012 14:58, Aditya Gupta wrote:
Am I installing it the right way ? While inst= alling 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> 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 <adynnn@gmail.com>
Thanks! But what about the 100% cpu consumption that is=A0causing=A0the server to hang?=A0


On Sat, Feb 18, 2012 at 6:19 PM, Watanabe Maki <w= atanabe.maki@gmail.com> 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 <adynnn@gmail.com> wrote:

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



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 ?







--e0cb4efe33e288116804b9569062--