# Continuous High CPU Load Without Any Query Load

**URL:** <https://discuss.elastic.co/t/continuous-high-cpu-load-without-any-query-load/25820>\
**Category:** Elasticsearch\
**Created:** [July 17, 2015, 4:02pm UTC](https://discuss.elastic.co/t/continuous-high-cpu-load-without-any-query-load/25820 "2015-07-17T16:02:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Sommers](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Ryan\_Sommers](https://discuss.elastic.co/u/Ryan_Sommers)\
**Post date:** [July 17, 2015, 4:02pm UTC](https://discuss.elastic.co/t/continuous-high-cpu-load-without-any-query-load/25820/1 "2015-07-17T16:02:59Z")

</div>

For many versions now I've noticed an issue with my 2-node cluster. After 2 weeks of running CPU spikes from about 30% to 70% and will remain there even if all query load is removed. This happens on both nodes in the cluster. This cluster is only getting input from one logstash server that gets about 1-1.5 million documents inserted per day with minimal read queries. Each node in the cluster is hosted on an ESXi server. Configuration for each node:

OS: Ubuntu 14.04  
CPU: 2x2.9Ghz  
RAM: 12GB of RAM.

/etc/defaults/elasticsearch:  
ES\_HEAP\_SIZE=8g  
MAX\_LOCKED\_MEMORY=unlimited  
DATA\_DIR=/var/lib/elasticsearch  
PID\_DIR=/var/run

/etc/elasticsearch/elasticsearch.yml:  
cluster.name: redacted  
path.data: /var/lib/elasticsearch  
gateway.type: local

Thanks,  
Ryan

---

<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:** [July 18, 2015, 3:02am UTC](https://discuss.elastic.co/t/continuous-high-cpu-load-without-any-query-load/25820/2 "2015-07-18T03:02:44Z")

</div>

Check your logs for GC, also look at `hot_threads`, pending tasks and even the slowlog.

---

<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:00am UTC](https://discuss.elastic.co/t/continuous-high-cpu-load-without-any-query-load/25820/3 "2017-07-06T00:00:43Z")

</div>


