# Elastic Agent Manager generates large core dump files that fill up disk space — how to resolve this?

**URL:** <https://discuss.elastic.co/t/elastic-agent-manager-generates-large-core-dump-files-that-fill-up-disk-space-how-to-resolve-this/380527>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [July 29, 2025, 9:41am UTC](https://discuss.elastic.co/t/elastic-agent-manager-generates-large-core-dump-files-that-fill-up-disk-space-how-to-resolve-this/380527 "2025-07-29T09:41:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aya1](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Aya1](https://discuss.elastic.co/u/Aya1)\
**Post date:** [July 29, 2025, 9:41am UTC](https://discuss.elastic.co/t/elastic-agent-manager-generates-large-core-dump-files-that-fill-up-disk-space-how-to-resolve-this/380527/1 "2025-07-29T09:41:45Z")

</div>

Hello,

We are using Elastic Agent Manager for centralized agent management. We have noticed that **large core dump files** are frequently generated on some machines, eventually **filling up the disk** and causing service disruption.

#### ➕ Context:

- The agent is deployed as a **DaemonSet** on a Kubernetes cluster.
- We have observed **frequent crashes** of the Elastic Agent, which seem to result in the generation of these core dump files.
- The core files can be very large, and they accumulate over time if not manually deleted.

#### ❓ Questions:

1. Why is this happening?" ,"What is the recommended solution?"
2. Is there a way to **disable or limit core dump generation** by the Elastic Agent?
3. Are there **best practices to automatically clean up these core dump files**?
4. Is this behavior expected in certain versions of Elastic Agent, or could it indicate a misconfiguration?
5. How can we **prevent the agent from crashing frequently** or better manage its stability?
