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 884C998BF for ; Thu, 23 Feb 2012 21:30:35 +0000 (UTC) Received: (qmail 77558 invoked by uid 500); 23 Feb 2012 21:30:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 77489 invoked by uid 500); 23 Feb 2012 21:30:33 -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 77481 invoked by uid 500); 23 Feb 2012 21:30:33 -0000 Delivered-To: apmail-incubator-cassandra-user@incubator.apache.org Received: (qmail 77478 invoked by uid 99); 23 Feb 2012 21:30:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:30:33 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FSL_RCVD_USER,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of codevally@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:30:26 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S0gEn-0000jL-SB for cassandra-user@incubator.apache.org; Thu, 23 Feb 2012 13:30:05 -0800 Date: Thu, 23 Feb 2012 13:30:05 -0800 (PST) From: Roshan To: cassandra-user@incubator.apache.org Message-ID: <1330032605864-7313260.post@n2.nabble.com> In-Reply-To: <833EAB77-DB7A-4B91-AC0B-C6444146E177@thelastpickle.com> References: <833EAB77-DB7A-4B91-AC0B-C6444146E177@thelastpickle.com> Subject: Re: Best suitable value for flush_largest_memtables_at MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Aaron for the indormation. I increased the VM size to 2.4G from 1.4G. Please check my current CF in below. Keyspace: WCache: Replication Strategy: org.apache.cassandra.locator.SimpleStrategy Durable Writes: true Options: [replication_factor:3] Column Families: ColumnFamily: WStandard Key Validation Class: org.apache.cassandra.db.marshal.BytesType Default column value validator: org.apache.cassandra.db.marshal.BytesType Columns sorted by: org.apache.cassandra.db.marshal.BytesType Row cache size / save period in seconds / keys to save : 1000.0/0/all Row Cache Provider: org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider Key cache size / save period in seconds: 200001.0/3600 GC grace seconds: 3600 Compaction min/max thresholds: 4/32 Read repair chance: 1.0 Replicate on write: true Built indexes: [] Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy I have already done the below configuration changes after getting the OOM. /app/Cassandra/conf/cassandra-env.sh ================================ JVM_OPTS -XX:CMSInitiatingOccupancyFraction=45 (reduce it from 75) /app/Cassandra/conf/Cassandra.yaml ================================ flush_largest_memtables_at: 0.45 (reduce it from .75) reduce_cache_sizes_at: 0.55 (reduce it from .85) reduce_cache_capacity_to: 0.3 (reduce it from .6) concurrent_compactors: 1 I will also apply the configuration you suggest in locally first then to production. Appreciate your comments regarding this. Thanks. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Best-suitable-value-for-flush-largest-memtables-at-tp7310767p7313260.html Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.