cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Gupta <ady...@gmail.com>
Subject Re: Newbie Question: Cassandra consuming 100% CPU on ubuntu server
Date Mon, 20 Feb 2012 17:33:40 GMT
@Tamar: Thanks a ton! works perfect now!

On Mon, Feb 20, 2012 at 12:02 PM, Tamar Fraenkel <tamar@tok-media.com>wrote:

>  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:
>>>>>>>
>>>>>>>  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
>
>

Mime
View raw message