Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 98109 invoked from network); 5 Jun 2009 01:44:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 01:44:28 -0000 Received: (qmail 2366 invoked by uid 500); 5 Jun 2009 01:44:40 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 2337 invoked by uid 500); 5 Jun 2009 01:44:40 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 2327 invoked by uid 99); 5 Jun 2009 01:44:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 01:44:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 01:44:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 62BB3234C004 for ; Thu, 4 Jun 2009 18:44:07 -0700 (PDT) Message-ID: <1500320745.1244166247390.JavaMail.jira@brutus> Date: Thu, 4 Jun 2009 18:44:07 -0700 (PDT) From: "daishi (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-157) make cassandra not allow itself to run out of memory during sustained inserts In-Reply-To: <501691736.1241822685543.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716479#action_12716479 ] daishi commented on CASSANDRA-157: ---------------------------------- > flushes are processed one at a time, first come first served, to avoid swamping the system with IO. > does that jive with what you saw? I guess that depends on what "first come first served" means. Basically what I observed was that I could control how frequently Memtable.flush() happened, but that only after N memtables had been "queued up" to flush would they actually be flushed to disk (I presume - my view is based only on observing memory usage). I think N was 10-20, but I don't remember exactly right now. > make cassandra not allow itself to run out of memory during sustained inserts > ----------------------------------------------------------------------------- > > Key: CASSANDRA-157 > URL: https://issues.apache.org/jira/browse/CASSANDRA-157 > Project: Cassandra > Issue Type: Bug > Reporter: daishi > Assignee: daishi > Attachments: Cassandra-157_Unregister_Memtable_MBean.diff > > > Tv on IRC pointed out to me that the issue that I've been encountering > is probably point 2. in this roadmap: > http://www.mail-archive.com/cassandra-dev@incubator.apache.org/msg00160.html > I was unable to find any existing issue for this topic, so I'm creating a new one. > Since this issue would block our use of Cassandra I'm happy to look into it, > but if this is a known issue perhaps there's already a plan for addressing it > that could be clarified? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.