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 DEE2084E4 for ; Thu, 15 Sep 2011 10:53:04 +0000 (UTC) Received: (qmail 81975 invoked by uid 500); 15 Sep 2011 10:53:02 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81952 invoked by uid 500); 15 Sep 2011 10:53:02 -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 81944 invoked by uid 99); 15 Sep 2011 10:53:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2011 10:53:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of springrider@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-ew0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2011 10:52:57 +0000 Received: by ewy20 with SMTP id 20so1638334ewy.30 for ; Thu, 15 Sep 2011 03:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5kh+/8JGsHy9rESBjXJHkPp3rXAclViPEVwT+MbV7ks=; b=uC4Bvg3P65Uc6GP9rgOgsgy+BX1wP+dsfTEPIB/ElUzWHp1EmXt02roaGVAArf0LM9 gJJ+6AQXbrdWQNwIW7EQskOpzvVA4gT45Sjc3GgT31obzGk10PnmZo6IJi53Vnte7rne vZkq/NeM86x47ajEWNoA1/qwbsO/dehwbvRt8= Received: by 10.213.26.74 with SMTP id d10mr1061054ebc.97.1316083956153; Thu, 15 Sep 2011 03:52:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.32.199 with HTTP; Thu, 15 Sep 2011 03:52:16 -0700 (PDT) In-Reply-To: References: From: Yan Chunlu Date: Thu, 15 Sep 2011 18:52:16 +0800 Message-ID: Subject: Re: how did hprof file generated? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174bdc9cb37e5704acf8acd3 --0015174bdc9cb37e5704acf8acd3 Content-Type: text/plain; charset=ISO-8859-1 got it! thanks! On Thu, Sep 15, 2011 at 4:10 PM, Peter Schuller wrote: > > in one of my node, I found many hprof files in the cassandra installation > > directory, they are using as much as 200GB disk space. other nodes > didn't > > have those files. > > turns out that those files are used for memory analyzing, not sure how > they > > are generated? > > You're probably getting OutOfMemory exceptions. Cassandra by default > runs with -XX:+HeapDumpOnOutOfMemory (or some such, I forget exactly > what it's called). If this is the case, you probably need to increase > your heap size or adjust Cassandra settings. > > -- > / Peter Schuller (@scode on twitter) > --0015174bdc9cb37e5704acf8acd3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable got it! thanks!

On Thu, Sep 15, 2011 at 4= :10 PM, Peter Schuller <peter.schuller@infidyne.com> wrote:
> in one of my node, I found many hprof files in the c= assandra installation
> directory, they are using as much as 200GB disk space. =A0other nodes = didn't
> have those files.
> turns out that those files are used for memory analyzing, not sure how= they
> are generated?

You're probably getting OutOfMemory exceptions. Cassandra by defa= ult
runs with -XX:+HeapDumpOnOutOfMemory (or some such, I forget exactly
what it's called). If this is the case, you probably need to increase your heap size or adjust Cassandra settings.

--
/ Peter Schuller (@scode on twitter)

--0015174bdc9cb37e5704acf8acd3--