# One of the Data node is having High CPU while doing a load testing

**URL:** <https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133>\
**Category:** Elasticsearch\
**Created:** [February 2, 2018, 12:59am UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133 "2018-02-02T00:59:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sujad\_Syed](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@Sujad\_Syed](https://discuss.elastic.co/u/Sujad_Syed)\
**Post date:** [February 2, 2018, 12:59am UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/1 "2018-02-02T00:59:40Z")

</div>

One of the Data node is having High CPU while doing a load testing

---

<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:** [February 2, 2018, 1:04am UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/2 "2018-02-02T01:04:16Z")

</div>

Are you asking for assistance here? It's not really clear what your expectations are.

---

<div class="post-metadata">

**Author:** ![Sujad\_Syed](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@Sujad\_Syed](https://discuss.elastic.co/u/Sujad_Syed)\
**Post date:** [February 2, 2018, 1:37am UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/3 "2018-02-02T01:37:05Z")

</div>

Hi,

Yes iam requesting help, unclear on what is causing the issue,

My assumptions, looks like while conducting the load test, jmeter is looking for same data , which is why only one data node is having CPU

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 2, 2018, 6:39am UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/4 "2018-02-02T06:39:38Z")

</div>

Are you distributing the requests across all nodes in the cluster? How many shards are you indexing into/querying? Are these evenly distributed across the nodes in the cluster?

---

<div class="post-metadata">

**Author:** ![Sujad\_Syed](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@Sujad\_Syed](https://discuss.elastic.co/u/Sujad_Syed)\
**Post date:** [February 2, 2018, 10:56am UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/5 "2018-02-02T10:56:08Z")

</div>

Hi,

Yes iam requesting assistance, unclear on what is causing the issue,

My assumptions, looks like while conducting the load test, jmeter is  
looking for same data , which is why only one data node is having CPU.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 2, 2018, 1:02pm UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/6 "2018-02-02T13:02:41Z")

</div>

Try to make your test load as realistic as possible, both with respect to data and queries. Sending the same query over and over will not, unless that is the behaviour you expect from the application, give very useful results.

---

<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:** [March 2, 2018, 1:02pm UTC](https://discuss.elastic.co/t/one-of-the-data-node-is-having-high-cpu-while-doing-a-load-testing/118133/7 "2018-03-02T13:02:49Z")

</div>

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