Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 99276 invoked from network); 24 May 2010 15:01:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 May 2010 15:01:10 -0000 Received: (qmail 56128 invoked by uid 500); 24 May 2010 15:01:09 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 56002 invoked by uid 500); 24 May 2010 15:01:09 -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 55984 invoked by uid 99); 24 May 2010 15:01:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 15:01:09 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 15:01:03 +0000 Received: by wye20 with SMTP id 20so626518wye.31 for ; Mon, 24 May 2010 08:00:41 -0700 (PDT) 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 :content-transfer-encoding; bh=pwJZhTXGV4Sa7bLnNtwKaU2EkQn51iSxsomFDt8kWCY=; b=Xkod98ha/ScTfMFbzXvcDJiccho+TzPTyQCQVIHtPTru0K/qkfBxjDsNigHFMy5nQc ip/rWyD4L0VQJG6tY2UfJizttdVOpZ7WLWRXIhdN07Ru7Ws7z3LE9eNk6L/JEsHZ2VQn iyyzDMQu5lGsr4RDh0QXNQnb5hPA5y843x+fM= 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=nN4nCRpYzLJaQISfstn+rdZDWrODD6xdA8PHGH7BlbwcnNvuQtWH8a1S/ZJdSHTQti 6nVNQCezpZZ2QcW5XrIttuzmm0DyYGsHRV3YrO3pUYRzHkcmzKHprzcrDvknQt8uWjpX Pw6uZOhR/7h4l7PjGbO/bQL71FCxvbYQMV16U= Received: by 10.216.88.65 with SMTP id z43mr3574011wee.167.1274713241627; Mon, 24 May 2010 08:00:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.17.197 with HTTP; Mon, 24 May 2010 08:00:19 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 24 May 2010 10:00:19 -0500 Message-ID: Subject: Re: setcachecapacity is forgotten To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable fixed for 0.6.2 in https://issues.apache.org/jira/browse/CASSANDRA-1079 On Mon, May 24, 2010 at 7:14 AM, Ran Tavory wrote: > I use nodetool to set cache capacity on a certain node but the settings a= re > "forgotten" after a few minutes. > I run: > $ nodetool -h localhost -p 9004 setcachecapacity outbrain_kvdb KvImpressi= ons > 10000000 1000000 > And then run nodetool cfstats=A0immediately=A0after and the settings are > effective, I see the correct cache settings. > However, after a few minutes, and I'm not sure what the trigger really is= , > the settings are forgotten and the host returns to the cache settings it = had > read when it was booted. > I even updated storage-config,xml thinking maybe the server re-reads the > value from the actual file, but as it seems, it looks like it's reading > values stored in its memory when booted. > Of course I can just restart the server so values from the file will take > effect, but I don't want to start with a cold cache again, I want to > increase cache size while it's hot. > ...or am I using the tool incorrectly? > I'm setting the cache capacity for only one host in the ring, not all hos= ts. > Thanks > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com