cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Fontana Oscarsson (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-13843) Debian init shadows CASSANDRA_HEAPDUMP_DIR
Date Wed, 06 Sep 2017 08:19:00 GMT


Simon Fontana Oscarsson commented on CASSANDRA-13843:

I would rather solve this issue with CASSANDRA-13006. So instead of letting Cassandra creating
it's own heapdumps leave that job to the JVM. 

> Debian init shadows CASSANDRA_HEAPDUMP_DIR
> ------------------------------------------
>                 Key: CASSANDRA-13843
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Observability
>            Reporter: Andrew Jorgensen
>            Priority: Minor
>              Labels: newbie, patch
>             Fix For: 3.11.x, 4.x
>         Attachments: 0001-Remove-debian-init-setting-heap-dump-file.patch
> The debian init script sets the heap dump file directly using the cassandra users home
directory and the -H flag to the cassandra process[1|].
The cassandra heap dump location can also be set in the file using CASSANDRA_HEAPDUMP_DIR.
Unfortunately the debian init heap dump location is based off the home directory of the cassandra
user and cannot easily be changed. Also unfortunately if you do `ps aux | grep casandra` you
can clearly see that the -H flag takes precedent over the value found in
This makes it difficult to change the heap dump location for cassandra and is non-intuitive
when the value is set in why the heap dump does not actually end up in the
correct place.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message