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 0ED7FDC6D for ; Fri, 15 Feb 2013 18:36:35 +0000 (UTC) Received: (qmail 22528 invoked by uid 500); 15 Feb 2013 18:36:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22459 invoked by uid 500); 15 Feb 2013 18:36:32 -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 22444 invoked by uid 99); 15 Feb 2013 18:36:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 18:36:32 +0000 X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.213.159] (HELO nm4-vm1.bullet.mail.bf1.yahoo.com) (98.139.213.159) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 15 Feb 2013 18:36:24 +0000 Received: from [98.139.212.153] by nm4.bullet.mail.bf1.yahoo.com with NNFMP; 15 Feb 2013 18:36:02 -0000 Received: from [98.139.212.219] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 15 Feb 2013 18:36:02 -0000 Received: from [127.0.0.1] by omp1028.mail.bf1.yahoo.com with NNFMP; 15 Feb 2013 18:36:02 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 750639.51806.bm@omp1028.mail.bf1.yahoo.com Received: (qmail 25506 invoked by uid 60001); 15 Feb 2013 18:36:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360953362; bh=YGD3TZKLWvbF7OjhVxIla3s0J/2GuuncjSymC4Sm0cE=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=couqLfSBaJ4uWBocRCsHX/ixo2NKbFgo5Q0aYE8tBe0iY8luxlS+OPoQeV+HUWYrrT2eL6zC68uTQPC8jR9ESy3EMtzqYy6Njdb5AcnBBIGJn09vtYOkfYI5dsyjGjHCHYSptT5YR7qpVB0vJ9hCJaarnsv8jLoDa6jc9yQtqQQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=VoghH+7EvadZwa2zICsqxESDQnjWQnv2xNUTtF2YcCY/pSZstbgnvl2rDmeNeMReQEUIzGpvtkivxZLuhIQWFFDagM4PrJCtaQFrKzM9g+lhC412hhWWci2xojP1FYy4p9kdlKBejCEy8ifqEw83FmFFoBRO62hy4Fs4601ndvI=; X-YMail-OSG: 0ZvZo.4VM1nOm1KQTdnNo_0pCx1gTlwcJQ2nXJ5t2b1AZHk 0RauqQ.enY_cfI5GOMZm1cO5Ld2fsNp9FlSlwZgOKOorQuSoMWsfMNf9Nici eQcRpWpQVWkd7ylY4dOf8hDa6YEJreDT4AVa5DzxGzsTKruy.GW8E4xd2ZCX zQmsDOQMYZdgEtOJNUpGBghnb0QYxF3WaX8jXA26jwpnyJAjZ8oK4JqRt0qw fm3GX1RNkmjvy2nJTIIF5XBaAM0G6kuTMqlyXB9XxTEPTGs.a1u4f6n542XK fbLLFR0KpDe7sVk8eP1HhhuTnk.vjCG2cR8kobL00vtBspkcWLcCTHN11jrO BPb6xE9BsVQv4BazU48CrhTjmAwK9TZ9OBiG8E6JvYFDq4c2M5yGuSv1jGL9 GY1ZP18wbQLRVwgsR9cK17Ldf7Qsz3923_VySnXcaK9IrrKGQAL59eKKOk6B _0dyxct1KNPetgGN6rPasLMPfURjE1xqHz.FG8xJ6a19ON32ob72uO3W6kuG DQQP3P8.v8TuLetVW.Q.pQvGcdi8HSpSigw67YutoJoYw.GNr19Sb3j0q85K jx.miwd3VeDddbOt4uK_VPeQgkogShMEHNPym17Zw00uJHaM- Received: from [208.185.20.30] by web160902.mail.bf1.yahoo.com via HTTP; Fri, 15 Feb 2013 10:36:02 PST X-Mailer: YahooMailWebService/0.8.133.508 Message-ID: <1360953362.23729.GenericBBA@web160902.mail.bf1.yahoo.com> Date: Fri, 15 Feb 2013 10:36:02 -0800 (PST) From: Wei Zhu Reply-To: Wei Zhu Subject: Re: heap usage To: user@cassandra.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org We have 250G data and running at 8GB heap and one of the node is OOM during repair. I checked bloomfilter, only 200M. Not sure how the memory is used, maybe take a memory dump and exam that. ----- Original Message ----- From: "Edward Capriolo" To: user@cassandra.apache.org Sent: Friday, February 15, 2013 8:16:23 AM Subject: Re: heap usage It is not going to be true for long that LCS does not require bloom filters. https://issues.apache.org/jira/browse/CASSANDRA-5029 Apparently, without bloom filters there are issues. On Fri, Feb 15, 2013 at 7:29 AM, Blake Manders wrote: > > You probably want to look at your bloom filters. Be forewarned though, > they're difficult to change; changes to bloom filter settings only apply to > new SSTables, so they might not be noticeable until a few compactions have > taken place. > > If that is your issue, and your usage model fits it, a good alternative to > the slow propagation of higher miss rates is to switch to LCS (which doesn't > use bloom filters), which won't require you to make the jump to 1.2. > > > On Fri, Feb 15, 2013 at 4:06 AM, Reik Schatz wrote: >> >> Hi, >> >> recently we are hitting some OOM: Java heap space, so I was investigating >> how the heap is used in Cassandra 1.2+ >> >> We use the calculated 4G heap. Our cluster is 6 nodes, around 750 GB data >> and a replication factor of 3. Row cache is disabled. All key cache and >> memtable settings are left at default. >> >> Is the primary key index kept in heap memory? We have a bunch of keyspaces >> and column families. >> >> Thanks, >> Rik > > > > > -- > > Blake Manders | CTO > > Cross Pixel, Inc. | 494 8th Ave, Penthouse | NYC 10001 > > Website: crosspixel.net > Twitter: twitter.com/CrossPix