[
https://issues.apache.org/jira/browse/CASSANDRA-20457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953848#comment-17953848
]
Dmitry Konstantinov commented on CASSANDRA-20457:
-------------------------------------------------
I will do a review on the next week.
[~mck] [~rustyrazorblade] can you help with a review too?
> Limit number of OOM heap dumps to avoid full disk issue
> --------------------------------------------------------
>
> Key: CASSANDRA-20457
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20457
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Local/Scripts
> Reporter: Dmitry Konstantinov
> Assignee: Igor Kamyshnikov
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We can add the following protective logic to our startup scripts for
> Cassandra:
> * check the directory is used for heap dumps
> * if the number of existing heap dumps more than a threshold configured in an
> env variable then remove the oldest one
> It allows to avoid a case when we have a periodic OOM due to some issue and
> eventually kill ourselves due to lack of disk space consumed by heap dumps.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]