Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A21F4200BE3 for ; Thu, 8 Dec 2016 00:54:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A0BF7160B2B; Wed, 7 Dec 2016 23:54:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EA5BA160B0C for ; Thu, 8 Dec 2016 00:54:00 +0100 (CET) Received: (qmail 14803 invoked by uid 500); 7 Dec 2016 23:54:00 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 14780 invoked by uid 99); 7 Dec 2016 23:53:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2016 23:53:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC0B32C03DF for ; Wed, 7 Dec 2016 23:53:59 +0000 (UTC) Date: Wed, 7 Dec 2016 23:53:59 +0000 (UTC) From: "anmols (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-13006) Disable automatic heap dumps on OOM error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Dec 2016 23:54:01 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13006?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] anmols updated CASSANDRA-13006: ------------------------------- Fix Version/s: 3.0.9 Status: Patch Available (was: Open) Disable heap dumps if JVM option HeapDumpOnOutOfMemoryError is not set. > Disable automatic heap dumps on OOM error > ----------------------------------------- > > Key: CASSANDRA-13006 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1300= 6 > Project: Cassandra > Issue Type: Bug > Components: Configuration > Reporter: anmols > Assignee: Benjamin Lerer > Priority: Minor > Fix For: 3.0.9 > > Attachments: 13006-3.0.9.txt > > > With=C2=A0CASSANDRA-9861, a change was added to enable collecting heap du= mps by default if the process encountered an OOM error. These heap dumps ar= e stored in the Apache Cassandra home directory unless configured otherwise= (see=C2=A0[Cassandra Support Document|https://support.datastax.com/hc/en-u= s/articles/204225959-Generating-and-Analyzing-Heap-Dumps] for this feature)= . > =C2=A0 > The creation and storage of heap dumps aides debugging and investigative = workflows, but is not be desirable for a production environment where these= heap dumps may occupy a large amount of disk space and require manual inte= rvention for cleanups.=C2=A0 > =C2=A0 > Managing heap dumps on out of memory errors and configuring the paths for= these heap dumps are available as JVM options in JVM. The current behavior= conflicts with the Boolean JVM flag HeapDumpOnOutOfMemoryError.=C2=A0 > =C2=A0 > A patch can be proposed here that would make the heap dump on OOM error h= onor the=C2=A0HeapDumpOnOutOfMemoryError=C2=A0flag. Users who would want to= still generate heap dumps on OOM errors can set the=C2=A0-XX:+HeapDumpOnOu= tOfMemoryError=C2=A0JVM option. -- This message was sent by Atlassian JIRA (v6.3.4#6332)