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 BA4E59FED for ; Sat, 18 Feb 2012 17:01:11 +0000 (UTC) Received: (qmail 17287 invoked by uid 500); 18 Feb 2012 17:01:09 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17263 invoked by uid 500); 18 Feb 2012 17:01:09 -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 17255 invoked by uid 99); 18 Feb 2012 17:01:09 -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 17:01:09 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dnd1066@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 17:01:01 +0000 Received: by wgbdt10 with SMTP id dt10so2858663wgb.25 for ; Sat, 18 Feb 2012 09:00:41 -0800 (PST) Received-SPF: pass (google.com: domain of dnd1066@gmail.com designates 10.181.12.106 as permitted sender) client-ip=10.181.12.106; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dnd1066@gmail.com designates 10.181.12.106 as permitted sender) smtp.mail=dnd1066@gmail.com; dkim=pass header.i=dnd1066@gmail.com Received: from mr.google.com ([10.181.12.106]) by 10.181.12.106 with SMTP id ep10mr6184988wid.8.1329584441610 (num_hops = 1); Sat, 18 Feb 2012 09:00:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=3LyAWm9fjChDjpE3tf6B8XCJ63NwaPcewX123BwEoFE=; b=smFU8uN8PGlzTycV6FCTbIwPdN9BFTYiUaNEA3KidE0v1+du3WfSKmzmDc+9lmVIcG 2s7kvPTv1bz0kkA7KXY8UVKobQ6O8y1X5Df+5KqumDLLi1wMFB8y4hSqkTyblrYQlssU GW7shS73+i2I6uS2XCzp0/T8FwNefmO2oEd2E= Received: by 10.181.12.106 with SMTP id ep10mr5241055wid.8.1329584441368; Sat, 18 Feb 2012 09:00:41 -0800 (PST) Received: from [192.168.1.2] (93-96-159-41.zone4.bethere.co.uk. [93.96.159.41]) by mx.google.com with ESMTPS id y1sm11426731wiw.6.2012.02.18.09.00.40 (version=SSLv3 cipher=OTHER); Sat, 18 Feb 2012 09:00:40 -0800 (PST) Message-ID: <4F3FD93F.2070700@gmail.com> Date: Sat, 18 Feb 2012 17:00:47 +0000 From: Guy Incognito User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Newbie Question: Cassandra consuming 100% CPU on ubuntu server References: <383A2C9B-FEB9-40F9-B77B-06052658692A@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------000708010307010800080400" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000708010307010800080400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 > > > 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 ? > > > > > --------------000708010307010800080400 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 <adynnn@gmail.com> wrote:
No data at all. just a fresh installation 


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 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 <adynnn@gmail.com> wrote:

I just installed Cassandra on 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 ?





--------------000708010307010800080400--