cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Hiramoto <k...@hiramoto.org>
Subject Re: Restart cassandra every X days?
Date Wed, 25 Jan 2012 18:25:35 GMT

On 01/25/12 19:18, R. Verlangen wrote:
> Ok thank you for your feedback. I'll add these tasks to our daily 
> cassandra maintenance cronjob. Hopefully this will keep things under 
> controll.

I forgot to mention that we found that Forcing a GC also cleans up some 
space.


in a cronjob you can do this with
http://crawler.archive.org/cmdline-jmxclient/


my cronjob looks more like

nodetool repair
nodetool cleanup
nodetool compact
java -jar cmdline-jmxclient-0.10.3.jar - localhost:8080 
java.lang:type=Memory gc

--
Karl

Mime
View raw message