[ https://issues.apache.org/jira/browse/CASSANDRA-20457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Konstantinov updated CASSANDRA-20457: -------------------------------------------- Component/s: Local/Scripts > 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: Dmitry Konstantinov > Priority: Normal > > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org