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 7B8A217D88 for ; Mon, 16 Mar 2015 22:54:29 +0000 (UTC) Received: (qmail 9622 invoked by uid 500); 16 Mar 2015 22:54:27 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 9580 invoked by uid 500); 16 Mar 2015 22:54:27 -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 9567 invoked by uid 99); 16 Mar 2015 22:54:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 22:54:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dwahler@indeed.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 22:54:22 +0000 Received: by wgdm6 with SMTP id m6so51774611wgd.2 for ; Mon, 16 Mar 2015 15:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=indeed.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Np7lGg3au7LjBZnP3RsLLmJKMgmU4D5Em81H6txTKxY=; b=RMxQriVvwMxO6sMGujh283p7uNtn9+4VxC79r0r41y3cNgI0boUNWoath8+nTBGghf 686RYLU2WXBbLa71eQLlHr5L4uobgYAz/QkVFLV8+80pfCbdQaxiAnn7smO58jZ7g4o9 lyGozAHq71c/NdzBhWlnSnjm4rJW0Sqmp8jNY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=Np7lGg3au7LjBZnP3RsLLmJKMgmU4D5Em81H6txTKxY=; b=e5Xrlb4NyU7kBLqa527qGxY78/TV5wMSF9SKeGQAFoTno2M60BRHBZlV6C3TXPUPaT LE5KuJ4erekk3HXSXEMeecVVDkzFUDoe0E/vQkmsvOcLSOQxgTn9JVDFoHzNT3yVfbB+ pwDxb0RoD/6Px0jYiJJh7+49AeTEzB4oNWFzlEFyru29VXcqrIe7hSQESgytjFZWc2kX o2qxeg73ytLozV+ggCG4/df73EsT5EUHU1QAgmHoWsOqH16vrV7bHzCRlV7vCpv6R3QD GYfc/9U7FY9jfcvr5pReN48kHh54hmp0t6kYzmpMkcwzjLQ04T5/z3EKosusJileSMFh Sz/Q== X-Gm-Message-State: ALoCoQkeEtC/tXCWsvABXV4fnbgD9Uk4l6eLAVfdrHv4wmIRLo3TFug1/l/SPVkGn8x3zeZmUUWn X-Received: by 10.180.75.73 with SMTP id a9mr78411096wiw.45.1426546396760; Mon, 16 Mar 2015 15:53:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.157.198 with HTTP; Mon, 16 Mar 2015 15:52:56 -0700 (PDT) In-Reply-To: <54792650.219886.1426544924926.JavaMail.yahoo@mail.yahoo.com> References: <54792650.219886.1426544924926.JavaMail.yahoo@mail.yahoo.com> From: David Wahler Date: Mon, 16 Mar 2015 17:52:56 -0500 Message-ID: Subject: Re: Deleted snapshot files filling up /var/lib/cassandra To: user@cassandra.apache.org, Jan Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Mar 16, 2015 at 5:28 PM, Jan wrote: > David; > > all the packaged installations use the /var/lib/cassandra directory. > Could you check your yaml config files and see if you are using this default > directory for backups > > May want to change it to a location with more disk space. We're using the default /var/lib/cassandra as our data directory, mounted as its own LVM volume. I don't see anything in cassandra.yaml about a backup directory. There is an "incremental_backups" option which is set to false. Increasing the available disk space doesn't really seem like a solution. We have only about 450MB of live data on the most heavily-loaded server, and the space taken up by these deleted files is growing by several GB per day. For now we can work around the problem by periodically restarting servers to close the file handles, but that hurts our availability and seems like a hack.