From user-return-33966-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue May 7 08:44:02 2013 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 B50E4F07B for ; Tue, 7 May 2013 08:44:02 +0000 (UTC) Received: (qmail 71598 invoked by uid 500); 7 May 2013 08:44:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71289 invoked by uid 500); 7 May 2013 08:44:00 -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 71262 invoked by uid 99); 7 May 2013 08:43:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 08:43:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a45.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 08:43:53 +0000 Received: from homiemail-a45.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a45.g.dreamhost.com (Postfix) with ESMTP id DB0D4480C2 for ; Tue, 7 May 2013 01:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=+vSrLv/s2uZro2tq3BtbLHCYDT A=; b=mfc+Ih4oVlEY0YAfb9Vm0EmyOiDF0Sg5fPXG9ugR3mfJAjlockoHjJXlC1 ucjh5kNxX8KTp2lRwA9JkR0XoTTHTSPpV51+ohhO+gs4v1u4Nry/vGSK9msajhF/ Hi2arxtB5rI5g1aACnkL2WWnCeZopRG3bUUnltxh8rE7bW9vk= Received: from [172.16.1.8] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a45.g.dreamhost.com (Postfix) with ESMTPSA id 5F79E480B6 for ; Tue, 7 May 2013 01:43:31 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_AE9E46E1-211B-446D-906D-D0CA06AAF2D2" Message-Id: <005A3668-0D8B-4AC6-A586-257435DFA383@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Cassandra running High Load with no one using the cluster Date: Tue, 7 May 2013 20:43:29 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_AE9E46E1-211B-446D-906D-D0CA06AAF2D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Why did you increase the stack-size to 5.5 times greater than = recommended? Since each threads now uses 1000KB minimum just for the = stack, a large number of threads will use a large amount of memory. I'd say that is the reason you are running out of memory. Cheers ----------------- Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 7/05/2013, at 9:12 AM, Bryan Talbot wrote: > On Sat, May 4, 2013 at 9:22 PM, Aiman Parvaiz = wrote: >=20 > When starting this cluster we set=20 > > JVM_OPTS=3D"$JVM_OPTS -Xss1000k" >=20 >=20 >=20 >=20 > Why did you increase the stack-size to 5.5 times greater than = recommended? Since each threads now uses 1000KB minimum just for the = stack, a large number of threads will use a large amount of memory. >=20 > -Bryan > =20 --Apple-Mail=_AE9E46E1-211B-446D-906D-D0CA06AAF2D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Why did you increase = the stack-size to 5.5 times greater than recommended?  Since each = threads now uses 1000KB minimum just for the stack, a large number of = threads will use a large amount of = memory.
I'd say that is the reason you are = running out of memory.

Cheers

http://www.thelastpickle.com

On 7/05/2013, at 9:12 AM, Bryan Talbot <btalbot@aeriagames.com> = wrote:

On Sat, May 4, 2013 at 9:22 PM, Aiman = Parvaiz <aiman@grapheffect.com> wrote:

When starting this cluster we set 
> = JVM_OPTS=3D"$JVM_OPTS = -Xss1000k"



=

Why did you increase the stack-size = to 5.5 times greater than recommended?  Since each threads now uses = 1000KB minimum just for the stack, a large number of threads will use a = large amount of memory.

-Bryan
 

= --Apple-Mail=_AE9E46E1-211B-446D-906D-D0CA06AAF2D2--