# High cpu usage after 0.9.13 to 1.0.3

**URL:** <https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163>\
**Category:** Elasticsearch\
**Created:** [April 24, 2014, 3:03am UTC](https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163 "2014-04-24T03:03:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maziyar\_Panahi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maziyar_panahi/32/1584_2.png) [@Maziyar\_Panahi](https://discuss.elastic.co/u/Maziyar_Panahi)\
**Post date:** [April 24, 2014, 3:03am UTC](https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163/1 "2014-04-24T03:03:08Z")

</div>

Hi everyone,

Yesterday I change my source.list repository from 0.9 to 1.0 and upgrade my  
ES to newer version and chose to not change the config file which it was  
the default. Ever since I started ES the CPU usage is over the top.

I used to see high cpu usage in merging, my mongo-river, refreshing, and  
Marvel exporting for a short period of time but this one always refers to  
[management] which I don't know what is it.

Here the plugins I have: mapper-attachments, river-mongodb (these two are  
updated to latest version and working fine with ES  
1.0.3), paramedic, marvel, bigdesk, head.

What I really want to know is what that management refers to? Is it a  
outdated plugin here that's not compatible and eating up the cpu or I  
should have chosen new configuring file to overwrite my old one that  
belonged to 0.9?

I also have Logstash 1.4 on the same machine with two nodes for two really  
low traffic logs (maybe 60 docs top)

24.3% (121.5ms out of 500ms) cpu usage by thread 'elasticsearch[Master  
node][management][T#1]'  
10/10 snapshots sharing following 9 elements  
sun.misc.Unsafe.park(Native Method)

java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)

org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.awaitMatch(LinkedTransferQueue.java:702)

org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.xfer(LinkedTransferQueue.java:615)

org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.poll(LinkedTransferQueue.java:1117)

java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
java.lang.Thread.run(Thread.java:745)

24.0% (120.1ms out of 500ms) cpu usage by thread 'elasticsearch[Master  
node][management][T#3]'  
10/10 snapshots sharing following 9 elements  
sun.misc.Unsafe.park(Native Method)

java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)

org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.awaitMatch(LinkedTransferQueue.java:702)

org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.xfer(LinkedTransferQueue.java:615)

org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.poll(LinkedTransferQueue.java:1117)

java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
java.lang.Thread.run(Thread.java:745)

Thanks

--  
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/597af070-f968-46f6-b4da-9a7add37f9bf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/597af070-f968-46f6-b4da-9a7add37f9bf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Maziyar\_Panahi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maziyar_panahi/32/1584_2.png) [@Maziyar\_Panahi](https://discuss.elastic.co/u/Maziyar_Panahi)\
**Post date:** [April 24, 2014, 3:15am UTC](https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163/2 "2014-04-24T03:15:56Z")

</div>

I thought this might help:

[https://lh4.googleusercontent.com/-f7VJoSB5YbE/U1iB2gYdY1I/AAAAAAAAA7U/iaF3zBG5eTk/s1600/Screenshot+2014-04-24+11.14.03.png](https://lh4.googleusercontent.com/-f7VJoSB5YbE/U1iB2gYdY1I/AAAAAAAAA7U/iaF3zBG5eTk/s1600/Screenshot+2014-04-24+11.14.03.png)

[https://lh4.googleusercontent.com/-oPkwRBKWFuQ/U1iBy2yA8fI/AAAAAAAAA7M/9AWIdC7Zx4c/s1600/Screenshot+2014-04-24+11.14.14.png](https://lh4.googleusercontent.com/-oPkwRBKWFuQ/U1iBy2yA8fI/AAAAAAAAA7M/9AWIdC7Zx4c/s1600/Screenshot+2014-04-24+11.14.14.png)

--  
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/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [April 24, 2014, 11:35am UTC](https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163/3 "2014-04-24T11:35:13Z")

</div>

Hello,

What happens if you start ES without any plugin? Do you get the same high  
CPU load?

If not, then you can try enabling one plugin at a time and see which one is  
the cause. Also, make sure that your plugins match your version. For  
example, you seem to need the mongodb river to be version 1.7.4 to work  
with 1.0.0.

Best regards,  
Radu

On Thu, Apr 24, 2014 at 6:15 AM, Maziyar Panahi  
[sm.shariatpanahi@gmail.com](mailto:sm.shariatpanahi@gmail.com)wrote:

> I thought this might help:
> 
> [https://lh4.googleusercontent.com/-f7VJoSB5YbE/U1iB2gYdY1I/AAAAAAAAA7U/iaF3zBG5eTk/s1600/Screenshot+2014-04-24+11.14.03.png](https://lh4.googleusercontent.com/-f7VJoSB5YbE/U1iB2gYdY1I/AAAAAAAAA7U/iaF3zBG5eTk/s1600/Screenshot+2014-04-24+11.14.03.png)
> 
> [https://lh4.googleusercontent.com/-oPkwRBKWFuQ/U1iBy2yA8fI/AAAAAAAAA7M/9AWIdC7Zx4c/s1600/Screenshot+2014-04-24+11.14.14.png](https://lh4.googleusercontent.com/-oPkwRBKWFuQ/U1iBy2yA8fI/AAAAAAAAA7M/9AWIdC7Zx4c/s1600/Screenshot+2014-04-24+11.14.14.png)
> 
> --  
> 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/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Performance Monitoring \* Log Analytics \* Search Analytics  
Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

--  
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/CAHXA0\_0xw0N%2B\_buvFMM0t-zhFwrRUb8ssjH5kG7nAQhfmoOAJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHXA0_0xw0N%2B_buvFMM0t-zhFwrRUb8ssjH5kG7nAQhfmoOAJA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Maziyar\_Panahi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maziyar_panahi/32/1584_2.png) [@Maziyar\_Panahi](https://discuss.elastic.co/u/Maziyar_Panahi)\
**Post date:** [April 25, 2014, 1:53am UTC](https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163/4 "2014-04-25T01:53:10Z")

</div>

Hi Radu,

That's what I ended up and once I remove Marvel it wen back to the normal  
CPU usage. I still don't know what [management] means though.  
I'm guessing since I installed Marvel few months back on 0.9 it may have  
been changed and updated for new ES.

I will try to install new Marvel to see how it reacts this time.

Thanks

On Thursday, 24 April 2014 19:35:13 UTC+8, Radu Gheorghe wrote:

> Hello,
> 
> What happens if you start ES without any plugin? Do you get the same high  
> CPU load?
> 
> If not, then you can try enabling one plugin at a time and see which one  
> is the cause. Also, make sure that your plugins match your version. For  
> example, you seem to need the mongodb river to be version 1.7.4 to work  
> with 1.0.0.
> 
> Best regards,  
> Radu
> 
> On Thu, Apr 24, 2014 at 6:15 AM, Maziyar Panahi \<[sm.shari...@gmail.com](mailto:sm.shari...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > I thought this might help:
> > 
> > [https://lh4.googleusercontent.com/-f7VJoSB5YbE/U1iB2gYdY1I/AAAAAAAAA7U/iaF3zBG5eTk/s1600/Screenshot+2014-04-24+11.14.03.png](https://lh4.googleusercontent.com/-f7VJoSB5YbE/U1iB2gYdY1I/AAAAAAAAA7U/iaF3zBG5eTk/s1600/Screenshot+2014-04-24+11.14.03.png)
> > 
> > [https://lh4.googleusercontent.com/-oPkwRBKWFuQ/U1iBy2yA8fI/AAAAAAAAA7M/9AWIdC7Zx4c/s1600/Screenshot+2014-04-24+11.14.14.png](https://lh4.googleusercontent.com/-oPkwRBKWFuQ/U1iBy2yA8fI/AAAAAAAAA7M/9AWIdC7Zx4c/s1600/Screenshot+2014-04-24+11.14.14.png)
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2f11960f-84b1-4b07-aa4a-4c1cda543e99%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Performance Monitoring \* Log Analytics \* Search Analytics  
> Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

--  
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/80e33c22-85c9-48b5-adb7-43f05903c044%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/80e33c22-85c9-48b5-adb7-43f05903c044%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, 1:33am UTC](https://discuss.elastic.co/t/high-cpu-usage-after-0-9-13-to-1-0-3/17163/5 "2017-07-06T01:33:39Z")

</div>

Closed on July 6, 2017, 1:33am UTC


