Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 59377 invoked from network); 28 Apr 2010 19:13:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Apr 2010 19:13:21 -0000 Received: (qmail 30927 invoked by uid 500); 28 Apr 2010 19:13:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30895 invoked by uid 500); 28 Apr 2010 19:13:20 -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 30887 invoked by uid 99); 28 Apr 2010 19:13:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 19:13:20 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 19:13:12 +0000 Received: by wwi17 with SMTP id 17so1308951wwi.31 for ; Wed, 28 Apr 2010 12:12:51 -0700 (PDT) Received: by 10.216.172.71 with SMTP id s49mr5647924wel.195.1272481971399; Wed, 28 Apr 2010 12:12:51 -0700 (PDT) Received: from [192.168.1.137] (173-164-148-249-SFBA.hfc.comcastbusiness.net [173.164.148.249]) by mx.google.com with ESMTPS id x1sm648111wbx.1.2010.04.28.12.12.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Apr 2010 12:12:48 -0700 (PDT) Sender: Kyusik Chung From: Kyusik Chung Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Memory usage continually increases with reads Date: Wed, 28 Apr 2010 12:12:43 -0700 Message-Id: <63B33033-EAE8-4605-A6E4-5B790B1B6CD3@discovereads.com> To: user@cassandra.apache.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) Hello. I am using Cassandra 0.6.1 on ubuntu 8.04. 3 node cluster. I notice that when I start making lots of read requests (serially), = memory usage of jsvc keeps climbing until it uses up all memory on the = server (happens for all 3 servers in the cluster). At that point, the = box starts swapping a little (but not too much) and performance is = degraded. Read performance does not drop off a cliff, but it does take = a serious hit (maybe 50%). I have tried setting Xmx to various different values, but it doesnt seem = to limit the growth in memory usage. I understand that I should expect = to see jsvc use a bit more memory than what the jvm is configured to = use, but it doesnt seem to be limited to just an overhead. I have set = Xmx all the way down to 128M (just to test) and still jsvc will use up = 2G of memory. Are there other settings that I should be changing? Note that when I test by simply running a lot of writes but no reads, = jsvc seems to respect the Xmx value. Thanks! Kyusik Chung=