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 9F814566 for ; Thu, 5 May 2011 12:50:07 +0000 (UTC) Received: (qmail 99458 invoked by uid 500); 5 May 2011 12:50:05 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 99431 invoked by uid 500); 5 May 2011 12:50:05 -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 99423 invoked by uid 99); 5 May 2011 12:50:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 12:50:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chris.burroughs@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 12:50:00 +0000 Received: by vxg33 with SMTP id 33so2721468vxg.31 for ; Thu, 05 May 2011 05:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=SNyuZjGTOhRR4+j5eUhot4q6mQrhlbwHxC8LgM/ab94=; b=xvD1KgNa9R03WngBQx8sJTyirpEQ3IDIxPMpzMf9UpqcWzgwUEGmj/bzNFwPHl9d0R MfShYE68irdojOpLaw28L9dgxVrRaSrpbfAuv8j+euvzRU8aOIZyfBnRSoves6tk/Zi4 K3N1ENxXrbrunI8tX3If7UaTXo57mlfXuY1sU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gbfuOgPir7lp7SzbQAGfFaNzVnWmbHN6ID98y0qgFCnrvxiyraHbK6r6it5hVsmpPT 4GQBKpsMT8Zu7cSl3TqvTRarMhn+L4nSt12FbQzZ2JAfMbnSKOJTlwpsTadwHvIMasb3 WqWQ/ScxgEUv3w/TYigtcTndcIQ9QgYkl/t+4= Received: by 10.52.74.73 with SMTP id r9mr3080608vdv.186.1304599779216; Thu, 05 May 2011 05:49:39 -0700 (PDT) Received: from [192.168.1.94] (66-44-76-156.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com [66.44.76.156]) by mx.google.com with ESMTPS id 15sm316121vdh.27.2011.05.05.05.49.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 May 2011 05:49:37 -0700 (PDT) Message-ID: <4DC29CDF.4080400@gmail.com> Date: Thu, 05 May 2011 08:49:35 -0400 From: Chris Burroughs User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110409 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: user@cassandra.apache.org CC: Hannes Schmidt Subject: Re: Native heap leaks? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2011-05-05 06:30, Hannes Schmidt wrote: > This was my first thought, too. We switched to mmap_index_only and > didn't see any change in behavior. Looking at the smaps file attached > to my original post, one can see that the mmapped index files take up > only a minuscule part of RSS. I have not looked into smaps before. But it actually seems odd that that mmaped Index files are taking up so *little memory*. Are they only a few kb on disk? Is this a snapshot taken shortly after the process started or before the OOM killer is presumably about to come along. How long does it take to go from 1.1 G to 2.1 G resident? Either way, it would be worthwhile to set one node to standard io to make sure it's really not mmap causing the problem. Anyway, assuming it's not mmap, here are the other similar threads on the topic. Unfortunately none of them claim an obvious solution: http://www.mail-archive.com/user@cassandra.apache.org/msg09279.html http://www.mail-archive.com/user@cassandra.apache.org/msg08063.html http://www.mail-archive.com/user@cassandra.apache.org/msg12036.html http://mail.openjdk.java.net/pipermail/hotspot-dev/2011-April/004091.html