cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R. Verlangen" <ro...@us2.nl>
Subject Re: Restart cassandra every X days?
Date Wed, 25 Jan 2012 18:34:51 GMT
Thanks for reminding. I'm going to start with adding the cleanup & compact
to the chain of maintenance tasks. In my opinion java should determine
itselfs when to start a GC: doesn't feel natural to do this manually.

2012/1/25 Karl Hiramoto <karl@hiramoto.org>

>
> 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/<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