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 <ran...@gmail.com> wrote: > I use nodetool to set cache capacity on a certain node but the settings are > "forgotten" after a few minutes. > I run: > $ nodetool -h localhost -p 9004 setcachecapacity outbrain_kvdb KvImpressions > 10000000 1000000 > And then run nodetool cfstats immediately after 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 hosts. > Thanks > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com