Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6B8690B5 for ; Wed, 25 Jan 2012 18:19:18 +0000 (UTC) Received: (qmail 89707 invoked by uid 500); 25 Jan 2012 18:19:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 89648 invoked by uid 500); 25 Jan 2012 18:19:15 -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 89640 invoked by uid 99); 25 Jan 2012 18:19:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 18:19:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 18:19:09 +0000 Received: by vbbfr13 with SMTP id fr13so4152803vbb.31 for ; Wed, 25 Jan 2012 10:18:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.19.43 with SMTP id b11mr4517071vde.97.1327515527848; Wed, 25 Jan 2012 10:18:47 -0800 (PST) Received: by 10.52.170.14 with HTTP; Wed, 25 Jan 2012 10:18:47 -0800 (PST) In-Reply-To: <4F20464B.9060308@hiramoto.org> References: <4F20464B.9060308@hiramoto.org> Date: Wed, 25 Jan 2012 19:18:47 +0100 Message-ID: Subject: Re: Restart cassandra every X days? From: "R. Verlangen" To: user@cassandra.apache.org X-Gm-Message-State: ALoCoQmrZg5dXu8u2AwhUV/hAA4ZNf9nogCVWGHCaW9TuHP7oaLJGyh6F4x7cL+EMaZr+i215yL6 Content-Type: multipart/alternative; boundary=bcaec502d50278a32d04b75e4b65 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec502d50278a32d04b75e4b65 Content-Type: text/plain; charset=ISO-8859-1 Ok thank you for your feedback. I'll add these tasks to our daily cassandra maintenance cronjob. Hopefully this will keep things under controll. 2012/1/25 Karl Hiramoto > On 01/25/12 16:09, R. Verlangen wrote: > >> Hi there, >> >> I'm currently running a 2-node cluster for some small projects that might >> need to scale-up in the future: that's why we chose Cassandra. The actual >> problem is that one of the node's harddrive usage keeps growing. >> >> For example: >> - after a fresh restart ~ 10GB >> - after a couple of days running ~ 60GB >> >> I know that Cassandra uses lots of diskspace but is this still normal? >> I'm running cassandra 0.8.7 >> >> >> > I run 9 nodes with cassandra 0.7.8 and we see this same behaviour, but > we keep it under control by doing the sequence: > > nodetool repair > nodetool compact > nodetool cleanup > > According to the 1.0.x changelog IIRC this disk usage is supposed to be > improved. > > > -- > Karl > --bcaec502d50278a32d04b75e4b65 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok thank you for your feedback. I'll add these tasks to our daily cassa= ndra maintenance cronjob. Hopefully this will keep things under controll.
2012/1/25 Karl Hiramoto = <karl@hiramoto.org>
On 0= 1/25/12 16:09, R. Verlangen wrote:
Hi there,

I'm currently running a 2-node cluster for some small projects that mig= ht need to scale-up in the future: that's why we chose Cassandra. The a= ctual problem is that one of the node's harddrive usage keeps growing.<= br>
For example:
- after a fresh restart ~ 10GB
- after a couple of days running ~ 60GB

I know that Cassandra uses lots of diskspace but is this still normal? I= 9;m running cassandra 0.8.7



I run 9 nodes with cassandra 0.7.8 =A0 and we see this same behaviour, but = we keep it under control by doing the sequence:

nodetool repair
nodetool compact
nodetool cleanup

According to the 1.0.x changelog IIRC this disk usage is supposed to be imp= roved.


--
Karl

--bcaec502d50278a32d04b75e4b65--