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 0AD6A9ED2 for ; Tue, 24 Apr 2012 05:38:15 +0000 (UTC) Received: (qmail 35629 invoked by uid 500); 24 Apr 2012 05:38:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 35592 invoked by uid 500); 24 Apr 2012 05:38:12 -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 35559 invoked by uid 99); 24 Apr 2012 05:38:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 05:38:10 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tivv00@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 05:38:03 +0000 Received: by yenm5 with SMTP id m5so136018yen.31 for ; Mon, 23 Apr 2012 22:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=98jpyz3lB52LRzV/Q0PAJUw+yQrbIgx+9GJExTJ1GME=; b=qyLurYZwyXORgZ3TwPk+5g2Aq+KfP6u91u1sOYyCRr3oQgRnCsWDo1qGPR6xQZxwg/ /iOhTSAN4RgXJdvFPF1dZR4Pnu4pwQXvhKieZKZHTaf5pu4BGG9hRV4IEGKevEb8VVv5 MpzJ0U/oNiq59kE0EgBZMPlV/rzv7FPcVjD0TBt7GM1LbaFWvnQUKv6rYSksE4BDxl84 vZw09HEWGxVC2oiyB3UkSDreO5CwNrfoXBBY96HxgsL3FjdXsAWQpWm8AHVDJbMAndHs wg/zxCc6u9h5tpLF0LwIAaQmXWG06r6mG01HUWKGhn0ELwoclzIgfYZU4kKUgpyeWU3V eJlw== MIME-Version: 1.0 Received: by 10.236.175.104 with SMTP id y68mr17088441yhl.1.1335245862242; Mon, 23 Apr 2012 22:37:42 -0700 (PDT) Received: by 10.147.167.1 with HTTP; Mon, 23 Apr 2012 22:37:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Apr 2012 08:37:42 +0300 Message-ID: Subject: Re: Cassandra dying when gets many deletes From: =?KOI8-U?B?96bUwcymyiD0yc3eydvJzg==?= To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf305e28714e87a804be66276b --20cf305e28714e87a804be66276b Content-Type: text/plain; charset=ISO-8859-1 See https://issues.apache.org/jira/browse/CASSANDRA-3741 I did post a fix there that helped me. 2012/4/24 crypto five > Hi, > > I have 50 millions of rows in column family on 4G RAM box. I allocatedf > 2GB to cassandra. > I have program which is traversing this CF and cleaning some data there, > it generates about 20k delete statements per second. > After about of 3 millions deletions cassandra stops responding to queries: > it doesn't react to CLI, nodetool etc. > I see in the logs that it tries to free some memory but can't even if I > wait whole day. > Also I see following in the logs: > > INFO [ScheduledTasks:1] 2012-04-23 18:38:13,333 StorageService.java (line > 2647) Unable to reduce heap usage since there are no dirty column families > > When I am looking at memory dump I see that memory goes to > ConcurrentSkipListMap(10%), HeapByteBuffer(13%), DecoratedKey(6%), > int[](6%), BigInteger(8.2%), ConcurrentSkipListMap$HeadIndex(7.2%), > ColumnFamily(6.5%), ThreadSafeSortedColumns(13.7%), long[](5.9%). > > What can I do to make cassandra stop dying? > Why it can't free the memory? > Any ideas? > > Thank you. > -- Best regards, Vitalii Tymchyshyn --20cf305e28714e87a804be66276b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


--
Best regards= ,
=A0Vitalii Tymchyshyn
--20cf305e28714e87a804be66276b--