You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Igor Kamyshnikov (Jira)" <ji...@apache.org> on 2025/05/19 21:53:00 UTC

[jira] [Assigned] (CASSANDRA-20457) Limit number of OOM heap dumps to avoid full disk issue

     [ https://issues.apache.org/jira/browse/CASSANDRA-20457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Kamyshnikov reassigned CASSANDRA-20457:
--------------------------------------------

    Assignee: Igor Kamyshnikov  (was: Dmitry Konstantinov)

> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org