Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 57111 invoked from network); 25 Feb 2010 14:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 14:14:41 -0000 Received: (qmail 43888 invoked by uid 500); 25 Feb 2010 14:14:41 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 43874 invoked by uid 500); 25 Feb 2010 14:14:41 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 43866 invoked by uid 99); 25 Feb 2010 14:14:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 14:14:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 14:14:33 +0000 Received: by wyf28 with SMTP id 28so1757858wyf.6 for ; Thu, 25 Feb 2010 06:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=d1GPd2GzCXNzxwhp0DNIFg8XkxjJyQermf4QPz92jlg=; b=HUS4rW6DSVe+v/L27y+MnPEcJaD5QsFHcjjnQVjvDe2bXa0U0BHv4r209+CYRnDhkU 0Z6XcnS+7O3lEh05rbptWsR3YMC2HI8nTVo4ZBIwnFK1MQFO1LKtjNrZ8t9e8w0yhLgL UeCgpmhHyxnkMS3ZgWg6bDxuygwyLwYwGbEf4= 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:content-transfer-encoding; b=WdK5deWsY3tciWrPjo60ElYpZVlqps6WO3duwF2/r8PKa0NXxUl2PCXLHmg8GuL6/V IGeIIHMTbu19slH9O51IavbbRQjCXWBqFqk0h/ywWeoFmE6CZXLDqabXn++oLecal8mh 0TJ0qqsdrBkP9LLPp6UkTbFPDoid7RYxP75sM= MIME-Version: 1.0 Received: by 10.216.171.145 with SMTP id r17mr75015wel.182.1267107252153; Thu, 25 Feb 2010 06:14:12 -0800 (PST) In-Reply-To: References: <5f7770581002161028s21c54cdfk846e2c973d06aaf6@mail.gmail.com> <5f7770581002201047o460920eaof123002783fcfbb9@mail.gmail.com> From: Jonathan Ellis Date: Thu, 25 Feb 2010 08:13:52 -0600 Message-ID: Subject: Re: cassandra freezes To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Then you should check GC timing with -Xverbose:gc option (see: http://wiki.apache.org/cassandra/RunningCassandra for how to modify jvm options) for a correlation. On Thu, Feb 25, 2010 at 8:09 AM, Boris Shulman wrote: > In these tests I perform only write operations, no reads. > > On Thu, Feb 25, 2010 at 4:07 PM, Jonathan Ellis wrote= : >> The only kind of "freeze" that makes sense there is your reads are i/o >> bound and the extra disk activity is killing you. =A0In that case the >> fix is to add more RAM, or give less to the JVM so the OS can use more >> for buffer cache. >> >> On Thu, Feb 25, 2010 at 8:01 AM, Boris Shulman wrot= e: >>> In my case the cassandra node freezes while memtable flush operation >>> is performed or compactation operation is performed. How can I >>> optimize the cassandra configuration in order to avoid this behavior? >>> I've tried both using large memtable size (1G) and small (128M) but in >>> every case I have some sort of freezes when the data is flushed to the >>> disk. >>> >>> Please advice. >>> >> >