# Elastic Agent 8.8.0 disk space requirement

**URL:** https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723
**Category:** Elastic Agent
**Created:** [May 30, 2023, 8:45pm UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723 "2023-05-30T20:45:53Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![schapman](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@schapman](https://discuss.elastic.co/u/schapman)
#### Post date: [May 30, 2023, 8:45pm UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/1 "2023-05-30T20:45:53Z")

</div>

Just a heads up if installing the latest elastic agent on Linux servers with relatively small free space...

It looks like the elastic-agent's requirement for disk space has increased (almost doubled?) over the past year or so:

```auto
260M Mar 17 2022 elastic-agent-8.1.0-linux-x86_64.tar.gz
378M Dec 1 21:13 elastic-agent-8.5.0-linux-x86_64.tar.gz
513M May 30 15:01 elastic-agent-8.8.0-linux-x86_64.tar.gz

```

The unzipped size is about 1.7GB. And when you run the install from there it installs to the final location, which also seems to be about 1.7GB. So if I'm counting right, you need upwards of 4GB free disk space to install. (This on Ubuntu.) Now I agree that 4GB isn't a relatively large amount, but still... it's significant relative to our standard images where we only allocate 16GB for the root file system.

This was of course all noticed when one of those servers didn't have the required free space.

The [doc](https://www.elastic.co/guide/en/fleet/8.8/elastic-agent-installation.html) still says installation requirement is 640MB of disk. But that wasn't my experience.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 30, 2023, 11:25pm UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/2 "2023-05-30T23:25:13Z")

</div>

Thanks for flagging this, I have passed it on internally and will see what response I can get.

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [May 31, 2023, 6:41am UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/3 "2023-05-31T06:41:27Z")

</div>

Just to add, EA 8.8 is 801 MB on Windows, the components directory consume \>90%.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 31, 2023, 7:53am UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/4 "2023-05-31T07:53:19Z")

</div>

We've changed the way the Agent is built and it now includes the other components binaries instead of downloading them on demand. That's the main reason to this increase.

I'll see that we update the docs accordingly.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 1, 2023, 3:31am UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/5 "2023-06-01T03:31:43Z")

</div>

FYI [Minimum Requirements for disk are not accurate · Issue #2759 · elastic/elastic-agent · GitHub](https://github.com/elastic/elastic-agent/issues/2759)

---

<div class="post-metadata">

### Author: ![DefensiveDepth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defensivedepth/32/110034_2.png) [@DefensiveDepth](https://discuss.elastic.co/u/DefensiveDepth)
#### Post date: [June 1, 2023, 8:05pm UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/6 "2023-06-01T20:05:13Z")

</div>

@warkolm Part of the issue is that the the osquery integration is using a version of osqueryd that has debug symbols enabled, so the osqueryd binary itself is 200mb. non-debug osqueryd binary for linux should be around 80mb. I believe this is the largest file in that tarball.

More info from the osquery project here: [Trying to dig back into the history of when the linux osquer osquery #linux](https://chat.osquery.io/t/2403563/trying-to-dig-back-into-the-history-of-when-the-linux-osquer#88f62be4-4add-4d9b-85f8-154dfeb27d07)

---

<div class="post-metadata">

### Author: ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)
#### Post date: [June 14, 2023, 2:49pm UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/7 "2023-06-14T14:49:08Z")

</div>

Just to add some information. Today I've updated agents on Linux, from version 8.4.2 to 8.8.1 and also observed a considerable increment in the use of disk space (+970MB. almost 50% more)  
In Linux (depending how the fs are mounted) also the /opt/Elastic is in the root directory, which can be a problem, your system will be blocked if the root partition is full.  
Thank you

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 12, 2023, 2:49pm UTC](https://discuss.elastic.co/t/elastic-agent-8-8-0-disk-space-requirement/334723/8 "2023-07-12T14:49:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
