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 7C7AE1054F for ; Wed, 15 Jan 2014 08:18:47 +0000 (UTC) Received: (qmail 18329 invoked by uid 500); 15 Jan 2014 08:18:44 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16638 invoked by uid 500); 15 Jan 2014 08:18:27 -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 15207 invoked by uid 99); 15 Jan 2014 08:18:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 08:18:22 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Viktor.Jevdokimov@adform.com designates 81.7.166.231 as permitted sender) Received: from [81.7.166.231] (HELO mail.adform.com) (81.7.166.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 08:18:18 +0000 Received: from dkexc001.adform.com ([10.0.8.3]) by mail.adform.com with XWall v3.49 ; Wed, 15 Jan 2014 10:17:57 +0200 Received: from DKEXC003.adform.com (10.0.19.20) by DKEXC001.adform.com (10.0.8.3) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 15 Jan 2014 10:17:57 +0200 Received: from DKEXC002.adform.com ([fe80::a869:727c:285c:fd3]) by DKEXC003.adform.com ([::1]) with mapi id 14.03.0169.001; Wed, 15 Jan 2014 10:17:55 +0200 From: Viktor Jevdokimov To: "user@cassandra.apache.org" Subject: RE: Cassandra mad GC Thread-Topic: Cassandra mad GC Thread-Index: AQHPESreWBe910q7GU+HDISRDIdfE5qFcRRA Date: Wed, 15 Jan 2014 08:17:54 +0000 Message-ID: <2C85E14562B39345BCCAD90B8E7955C9029AA8C8@DKEXC002.adform.com> References: <1389705372410-7592248.post@n2.nabble.com> In-Reply-To: <1389705372410-7592248.post@n2.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.22.95] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-XWALL-BCKS: auto X-Virus-Checked: Checked by ClamAV on apache.org Simply don't use G1 GC, it will not be better on Cassandra than CMS, it cou= ld be worse. Best regards / Pagarbiai Viktor Jevdokimov Senior Developer Email: Viktor.Jevdokimov@adform.com Phone: +370 5 212 3063 Fax: +370 5 261 0453 J. Jasinskio 16C, LT-03163 Vilnius, Lithuania Disclaimer: The information contained in this message and attachments is in= tended solely for the attention and use of the named addressee and may be c= onfidential. If you are not the intended recipient, you are reminded that t= he information remains the property of the sender. You must not use, disclo= se, distribute, copy, print or rely on this e-mail. If you have received th= is message in error, please contact the sender immediately and irrevocably = delete this message and any copies.-----Original Message----- From: Dimetrio [mailto:dimetrio@flysoft.ru] Sent: Tuesday, January 14, 2014 3:16 PM To: cassandra-user@incubator.apache.org Subject: Cassandra mad GC Hi all. I have many GC freezes on my cassandra cluster Im using G1 GC and CMS gives similar freezes JVM_OPTS=3D"$JVM_OPTS -XX:+Use= G1GC" JVM_OPTS=3D"$JVM_OPTS -XX:SurvivorRatio=3D1" JVM_OPTS=3D"$JVM_OPTS -XX:NewRatio=3D1" JVM_OPTS=3D"$JVM_OPTS -XX:MaxTenuringThreshold=3D15" JVM_OPTS=3D"$JVM_OPTS -XX:-UseAdaptiveSizePolicy" JVM_OPTS=3D"$JVM_OPTS -XX:G1HeapRegionSize=3D32m" Heap 8GB 10 nodes aws c3.4xlarge 60Gb per node Cassandra logs GC logs sometimes node freeze and told that one or two nodes are down cpu load > 10= 00% LA =3D 6-15 pending tasks: 4 compaction type keyspace table completed total unit progress Compaction Social home_timeline 4097097092 4920701908 bytes 83.26% Compaction Social home_timeline 2713279974 6272012039 bytes 43.26% Active compaction remaining time : 0h00m32s 200-300 requests per second on each node with many inserts and deletes (bat= ch lower than 50) How can i reduce GC freezes? --regards -- View this message in context: http://cassandra-user-incubator-apache-org.30= 65146.n2.nabble.com/Cassandra-mad-GC-tp7592248.html Sent from the cassandra-user@incubator.apache.org mailing list archive at N= abble.com.