Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 6640 invoked from network); 6 Dec 2010 13:12:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Dec 2010 13:12:34 -0000 Received: (qmail 29437 invoked by uid 500); 6 Dec 2010 13:12:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 29226 invoked by uid 500); 6 Dec 2010 13:12:32 -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 29218 invoked by uid 99); 6 Dec 2010 13:12:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 13:12:31 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ivytang0812@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-iw0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 13:12:25 +0000 Received: by iwn40 with SMTP id 40so15425836iwn.31 for ; Mon, 06 Dec 2010 05:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=Sg8sXZGpUQHWoEDk69VE3qiIwSzHCeu7TEhz448fUmg=; b=SkOvBHqFOjLWWE6sXWL88y4uKGbvYjk6wWzICgaRXjne9M77S4W0HK1sWubNhQ0Vi6 wLAdomIPP4SC9U5+OesubSgL9jKzK+L0JbOOW2Lri0mwN3TF/mdbql7cgzfQD8BXv3xC ajf8xY60iDlO6xLUABeWOWCHJga2idFZOlvpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Zb/AN/RjO1dbQ1cljiDLcd3aVlRfZ2CpWO6dE03Ih/vU7IE+LpHnsq48oKZDI/pANh P74DosWqPFiaHeipkao3WAvvpnLOGaKFvn5L0Dy+aN2ZNYGGU3PFhzlAXtO4ZMBKXUTI c7HI/AcGLSke8YMzYjNNYLKUh5rnlGbLApSXw= Received: by 10.231.30.138 with SMTP id u10mr5898783ibc.159.1291641124293; Mon, 06 Dec 2010 05:12:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.208.12 with HTTP; Mon, 6 Dec 2010 05:11:43 -0800 (PST) In-Reply-To: References: From: Ying Tang Date: Mon, 6 Dec 2010 21:11:43 +0800 Message-ID: Subject: Re: 0.7.0beta3 Cassandra frequently log GC for ConcurrentMarkSweep To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000325573fb2640e140496bda2be --000325573fb2640e140496bda2be Content-Type: text/plain; charset=ISO-8859-1 And after checking node who gc concurrentMarkSweep frequently ,it's OC(Current old space capacity (KB)) is 1006016.0 ,it's OU(Old space utilization (KB).) is also 1006016.0 ,almost all memory. Dose this situation imply this heap size is set too low? On Mon, Dec 6, 2010 at 8:07 PM, Ying Tang wrote: > I hava a two node , running cassandra ,both's memory is 4G. > First i set heap size to 2G ,both run normal . > The i set heap size to 1G , the client who insert data to and read data > from cassandra began throw Read\Write Unavailable Exception . And one > cassandra node began logging GC for ConcurrentMarkSweep frequently ,every > ConcurrentMarkSweep 's time is over 5000ms. > How this happen ? Why frequently ConcurrentMarkSweep GC ,not ParNew GC? > > -- > Best regards, > Ivy Tang > > > > -- Best regards, Ivy Tang --000325573fb2640e140496bda2be Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
And after checking node who=A0gc=A0concurrentMarkSweep frequently ,it&= #39;s OC(Current old space capacity (KB)) is 1006016.0 ,it= 9;s OU(Old space utilization (KB).) is also 1006016.0=A0 ,alm= ost all memory.
Dose this situation imply this heap size is set too low?
=A0
On Mon, Dec 6, 2010 at 8:07 PM, Ying Tang <ivytang0812@gmail.= com> wrote:
I hava a two node , running cassandra ,both's memory is 4G.
First i set heap size to 2G ,both run normal .
The i set heap size to 1G ,=A0=A0the client who insert data to and rea= d data from cassandra began throw Read\Write Unavailable Exception . And on= e cassandra node began=A0 logging =A0GC for ConcurrentMarkSweep frequently= =A0 ,every ConcurrentMarkSweep 's time is over 5000ms.
How this happen ? Why frequently ConcurrentMarkSweep GC ,not ParNew GC= ?
=A0
--
Best regards,
Ivy Tang






-- <= br>
Best regards,

Ivy Tang



--000325573fb2640e140496bda2be--