# Disk space is increasing

**URL:** https://discuss.elastic.co/t/disk-space-is-increasing/195056
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [August 13, 2019, 3:24pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056 "2019-08-13T15:24:57Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Rajeev\_Prakash](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)
#### Post date: [August 13, 2019, 3:24pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/1 "2019-08-13T15:24:57Z")

</div>

Our Elasticsearch servers are configured with multiple nodes in a single cluster.  
But for only one elastisearch node diskspace is increasing more when compared with other nodes in cluster.  
We were clearing the old indices regularly to provide free disk space.  
What is the root cause for it?

Thanks for the help in advance

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 13, 2019, 4:54pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/2 "2019-08-13T16:54:40Z")

</div>

Hi @Rajeev_Prakash,

The `Shard Legend` might be helpful here. Can you look at each node in your cluster (using the Stack Monitoring UI) and check out how the shards are distributed across your nodes? I wonder if some nodes just have more shards than others

---

<div class="post-metadata">

### Author: ![Rajeev\_Prakash](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)
#### Post date: [August 13, 2019, 5:38pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/3 "2019-08-13T17:38:01Z")

</div>

Hi @chrisronline,  
I checked the Shard Legend  
In our cluster out of 4 nodes only two nodes allocated with shards.  
The nodes which are not allocated with shards one node is having high free diskspace,and the other node is having less free diskspace.

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 13, 2019, 5:54pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/4 "2019-08-13T17:54:39Z")

</div>

Do you have other services installed on the server with less free diskspace? Have you ran a disk space check on that server to figure out where the resources are used?

---

<div class="post-metadata">

### Author: ![Rajeev\_Prakash](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)
#### Post date: [August 14, 2019, 11:05am UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/5 "2019-08-14T11:05:38Z")

</div>

Apologies for late response..

No other service was installed on that server.Only elasticsearch server is running on it.

> [@chrisronline](#):
>
> Have you ran a disk space check on that server to figure out where the resources are used?

How can I check this? Please help me with that

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 14, 2019, 2:35pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/6 "2019-08-14T14:35:53Z")

</div>

> **[Linux Check Disk Space Command To View System Disk Usage - nixCraft](https://www.cyberciti.biz/faq/linux-check-disk-space-command/)**
>
> Explains Linux check disk space command that report file system disk space usage, estimate file space usage and more using the df, du and other CLI.

You can identify what folder is taking up the most space and see if it's where the Elasticsearch data lives.

---

<div class="post-metadata">

### Author: ![Rajeev\_Prakash](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)
#### Post date: [August 14, 2019, 3:49pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/7 "2019-08-14T15:49:26Z")

</div>

We were running it on windows server,each node is around 2tb.Only elasticsearch node related data is consumed more.

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 14, 2019, 4:26pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/8 "2019-08-14T16:26:42Z")

</div>

Did you run a disk scan on your Windows machine? I'm not very familiar with Windows system so I can't recommend anything, but I'm sure there are multiple to choose from. When you've done this, can you paste the results here?

---

<div class="post-metadata">

### Author: ![Rajeev\_Prakash](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)
#### Post date: [August 19, 2019, 12:12pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/9 "2019-08-19T12:12:15Z")

</div>

I tried to check the disk scan on windows but couldn't find the solution.Any other instance to check why the diskspace is increasing more for one node.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/3/8328b449d852a1d552f31c345d0c7c0d1f1e2e8a.png)

---

<div class="post-metadata">

### Author: ![chrisronline](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrisronline/32/28230_2.png) [@chrisronline](https://discuss.elastic.co/u/chrisronline)
#### Post date: [August 19, 2019, 8:49pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/10 "2019-08-19T20:49:51Z")

</div>

> I tried to check the disk scan on windows but couldn't find the solution

What did you do exactly? The purpose of running this utility is two folds:

1. Identify if the majority of disk space is used by Elasticsearch. [Please reference this for information on how the configure/identify the data directory](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/path-settings.html)
2. See if the majority of disk space is used by a certain directory, other than Elasticsearch. If so, then you know the issue isn't related to the Elasticsearch service, and rather something else installed on that particular server.

---

<div class="post-metadata">

### Author: ![Rajeev\_Prakash](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Rajeev\_Prakash](https://discuss.elastic.co/u/Rajeev_Prakash)
#### Post date: [August 22, 2019, 2:16pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/11 "2019-08-22T14:16:17Z")

</div>

Hi @chrisronline

We have restarted the all the nodes.Now it is fine

---

<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: [September 19, 2019, 2:17pm UTC](https://discuss.elastic.co/t/disk-space-is-increasing/195056/12 "2019-09-19T14:17:38Z")

</div>

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