cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3056) Able to set path location of HeapDump in cassandra-env
Date Thu, 21 May 2015 09:19:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553955#comment-14553955
] 

Bertrand commented on CASSANDRA-3056:
-------------------------------------

It seems that this feature is no longer working in 2.0 since `/usr/sbin/cassandra` is called
with a fixed value on the -H parameter in the Debian init.d script. A way to fix this might
be to remove the parameter -XX:HeapDumpPath from the $JMV_OPTS in cassandra-env.sh and use
$CASSANDRA_HEAPDUMP_DIR in the init.d script if a value is set or defaulting with the current
value otherwise.

Thanks & regards,

> Able to set path location of HeapDump in cassandra-env
> ------------------------------------------------------
>
>                 Key: CASSANDRA-3056
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3056
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.7.8, 0.8.4
>            Reporter: David Talbott
>            Assignee: satish babu krishnamoorthy
>            Priority: Minor
>              Labels: lhf
>         Attachments: CASSANDRA-3056-1.txt, CASSANDRA-3056-2.txt, CASSANDRA-3056-3.txt
>
>
> We should be able to designate the path location to put any perf dumps that are performed.
By Default with this not set the perf dump can occur on the root disk and fill the drive.

> Should be able to solve this by simply inserting JVM_OPTS="$JVM_OPTS -XX:HeapDumpPath=<path
to dir>" into cassandra-env.sh as a default option available and set. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message