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 950F49B75 for ; Mon, 20 Feb 2012 06:33:21 +0000 (UTC) Received: (qmail 58140 invoked by uid 500); 20 Feb 2012 06:33:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 57871 invoked by uid 500); 20 Feb 2012 06:33:19 -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 57827 invoked by uid 99); 20 Feb 2012 06:33:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 06:33:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tamar@tok-media.com designates 66.11.232.73 as permitted sender) Received: from [66.11.232.73] (HELO mail20.dotsterhost.com) (66.11.232.73) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 06:33:09 +0000 Received: (qmail 9567 invoked from network); 20 Feb 2012 06:32:46 -0000 Received: from unknown (HELO ?10.0.0.8?) (tamar@tok-media.com@[93.172.244.212]) by 66.11.232.73 with SMTP; 20 Feb 2012 06:32:45 -0000 Message-ID: <4F41E90C.1090606@tok-media.com> Date: Mon, 20 Feb 2012 08:32:44 +0200 From: Tamar Fraenkel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 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> <4F3FD93F.2070700@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------070004000400010608010006" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------070004000400010608010006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 19/02/2012 21:55, Aditya Gupta wrote: > Is there anything to do with running cassandra on a VMware ubuntu > instance !? I am trying Cassandra on VMware ubuntu server instance. I am doing that for the past couple of weeks both on VMWare player and on ESXi in development and it works fine. My Ubuntu is 11.10, cassandra 1.0.7. I followed the directions in datastax site for installation. Tamar > > 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 >> > > 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 ? >> >> >> >> >> > > > -- Tamar Fraenkel Senior Software Engineer, TOK Media Tel: +972 2 6409736 Mob: +972 54 8356490 Fax: +972 2 5612956 --------------070004000400010608010006 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 19/02/2012 21:55, Aditya Gupta wrote:
Is there anything to do with running cassandra on a VMware ubuntu instance !? I am trying Cassandra on VMware ubuntu server instance.
I am doing that for the past couple of weeks both on VMWare player and on ESXi in development and it works fine.
My Ubuntu is 11.10, cassandra 1.0.7.
I followed the directions in datastax site for installation.
Tamar

On Sun, Feb 19, 2012 at 2:45 AM, Aditya Gupta <adynnn@gmail.com> 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 <dnd1066@gmail.com> 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 <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 ?









-- 
Tamar Fraenkel
Senior Software Engineer, TOK Media

Tel:   +972 2 6409736
Mob:  +972 54 8356490
Fax:   +972 2 5612956
--------------070004000400010608010006--