# Marvel creating disk usage imbalance

**URL:** <https://discuss.elastic.co/t/marvel-creating-disk-usage-imbalance/20685>\
**Category:** Elasticsearch\
**Created:** [November 11, 2014, 9:15am UTC](https://discuss.elastic.co/t/marvel-creating-disk-usage-imbalance/20685 "2014-11-11T09:15:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duncan\_Innes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/duncan_innes/32/533_2.png) [@Duncan\_Innes](https://discuss.elastic.co/u/Duncan_Innes)\
**Post date:** [November 11, 2014, 9:15am UTC](https://discuss.elastic.co/t/marvel-creating-disk-usage-imbalance/20685/1 "2014-11-11T09:15:32Z")

</div>

I now know that Marvel creates a lot of data per day of monitoring - in our  
case around 1Gb.

What I'm just starting to get my head around is the imbalance of disk usage  
that this caused on my 5 node cluster.

I've now removed Marvel and deleted the indexes for now (great tool, but I  
don't have the disk space to spare on this proof of concept) and my disk  
usage for the 12 months of rsyslog data has equalised across all the nodes  
in my cluster. When the Marvel data was sitting there, not only was I  
using far too much disk space, but I was also seeing significant  
differences between nodes. At least one node would be using nearly all of  
the 32Gb, where other nodes would sit at half that or even less. Is there  
something intrinsically different about Marvel's indexes that makes them  
prone to such wild differences?

Thanks

Duncan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7c7d7fb3-a704-4ea5-a74d-efa01f1fa11d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7c7d7fb3-a704-4ea5-a74d-efa01f1fa11d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Michael\_Hart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_hart/32/65937_2.png) [@Michael\_Hart](https://discuss.elastic.co/u/Michael_Hart)\
**Post date:** [November 11, 2014, 1:26pm UTC](https://discuss.elastic.co/t/marvel-creating-disk-usage-imbalance/20685/2 "2014-11-11T13:26:01Z")

</div>

I think it's related to  
this: [Reroute shards automatically when high disk watermark is exceeded by dakrone · Pull Request #8270 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/pull/8270) which I  
believe was released with 1.4.

We see the same thing, with hot spots on some nodes. You can poke the  
cluster to rebalance itself, which that #8270 fixes permanently, using  
"curl -XPOST localhost:9200/\_cluster/reroute". That doesn't always sort it  
out, and this issue  
([Updates causing hotspots in cluster when multiple primary shards for an index exist on a single node · Issue #8149 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/8149)) is our primary  
issue.

AFAIK it's not just Marvel, but any indice can get into this situation.  
Right now I have a few nodes with 1TB of free disk and others with 400Gb,  
and Marvel is in another cluster entirely.

cheers  
mike

On Tuesday, November 11, 2014 4:15:33 AM UTC-5, Duncan Innes wrote:

> I now know that Marvel creates a lot of data per day of monitoring - in  
> our case around 1Gb.
> 
> What I'm just starting to get my head around is the imbalance of disk  
> usage that this caused on my 5 node cluster.
> 
> I've now removed Marvel and deleted the indexes for now (great tool, but I  
> don't have the disk space to spare on this proof of concept) and my disk  
> usage for the 12 months of rsyslog data has equalised across all the nodes  
> in my cluster. When the Marvel data was sitting there, not only was I  
> using far too much disk space, but I was also seeing significant  
> differences between nodes. At least one node would be using nearly all of  
> the 32Gb, where other nodes would sit at half that or even less. Is there  
> something intrinsically different about Marvel's indexes that makes them  
> prone to such wild differences?
> 
> Thanks
> 
> Duncan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/477f9c6c-b359-4776-83be-e8ac5ac8401a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/477f9c6c-b359-4776-83be-e8ac5ac8401a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Duncan\_Innes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/duncan_innes/32/533_2.png) [@Duncan\_Innes](https://discuss.elastic.co/u/Duncan_Innes)\
**Post date:** [November 11, 2014, 1:43pm UTC](https://discuss.elastic.co/t/marvel-creating-disk-usage-imbalance/20685/3 "2014-11-11T13:43:28Z")

</div>

Interesting - I thought I'd narrowed it down to Marvel. I had big  
imbalances with Marvel running, now it all seems flat (although to be fair,  
the disk usage has dropped to around 5Gb used in a 32Gb partition, so  
there's large amounts of free space).

Same as you though - I could do nothing to rebalance the usage. We've  
built the cluster so that nodes can be rebuilt and rejoin the cluster if  
absolutely necessary. Even doing that didn't affect the balance.

Will keep an eye on those issues. Looks like there's still a chance of  
disk imbalance though, if all disks are well below the water mark.  
Although at least the issue looks to be addressed once disk use pops above  
the high water mark.

Cheers

D

On Tuesday, 11 November 2014 13:26:01 UTC, Michael Hart wrote:

> I think it's related to this:  
> [Reroute shards automatically when high disk watermark is exceeded by dakrone · Pull Request #8270 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/pull/8270) which I believe  
> was released with 1.4.
> 
> We see the same thing, with hot spots on some nodes. You can poke the  
> cluster to rebalance itself, which that #8270 fixes permanently, using  
> "curl -XPOST localhost:9200/\_cluster/reroute". That doesn't always sort it  
> out, and this issue (  
> [Updates causing hotspots in cluster when multiple primary shards for an index exist on a single node · Issue #8149 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/8149)) is our  
> primary issue.
> 
> AFAIK it's not just Marvel, but any indice can get into this situation.  
> Right now I have a few nodes with 1TB of free disk and others with 400Gb,  
> and Marvel is in another cluster entirely.
> 
> cheers  
> mike
> 
> On Tuesday, November 11, 2014 4:15:33 AM UTC-5, Duncan Innes wrote:
> 
> > I now know that Marvel creates a lot of data per day of monitoring - in  
> > our case around 1Gb.
> > 
> > What I'm just starting to get my head around is the imbalance of disk  
> > usage that this caused on my 5 node cluster.
> > 
> > I've now removed Marvel and deleted the indexes for now (great tool, but  
> > I don't have the disk space to spare on this proof of concept) and my disk  
> > usage for the 12 months of rsyslog data has equalised across all the nodes  
> > in my cluster. When the Marvel data was sitting there, not only was I  
> > using far too much disk space, but I was also seeing significant  
> > differences between nodes. At least one node would be using nearly all of  
> > the 32Gb, where other nodes would sit at half that or even less. Is there  
> > something intrinsically different about Marvel's indexes that makes them  
> > prone to such wild differences?
> > 
> > Thanks
> > 
> > Duncan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3aeaae9e-95c4-4cee-b7dd-1c005e2b965f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3aeaae9e-95c4-4cee-b7dd-1c005e2b965f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:50am UTC](https://discuss.elastic.co/t/marvel-creating-disk-usage-imbalance/20685/4 "2017-07-06T00:50:50Z")

</div>

Closed on July 6, 2017, 12:50am UTC


