# Limint the threads by Shards and CPU

**URL:** <https://discuss.elastic.co/t/limint-the-threads-by-shards-and-cpu/267030>\
**Category:** Kibana\
**Created:** [March 12, 2021, 4:36am UTC](https://discuss.elastic.co/t/limint-the-threads-by-shards-and-cpu/267030 "2021-03-12T04:36:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecarmona](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@ecarmona](https://discuss.elastic.co/u/ecarmona)\
**Post date:** [March 12, 2021, 4:36am UTC](https://discuss.elastic.co/t/limint-the-threads-by-shards-and-cpu/267030/1 "2021-03-12T04:36:16Z")

</div>

Hi Team,

I am working in a small environment with just 4 core server for each node. Is there a way I can configure Kibana to serialize the requests between Kibana and elasticsearch? I have noticed that if my dashboards has many objects, elastic's CPU consumption is quite high. It seems to me that Kibana is creating 1 thread per query.

Regards,

Erik

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [March 17, 2021, 5:28pm UTC](https://discuss.elastic.co/t/limint-the-threads-by-shards-and-cpu/267030/2 "2021-03-17T17:28:45Z")

</div>

The scale of the Elasticsearch cluster determines the scale of the dashboards that Kibana can render. Since you have dashboards with a lot of objects, the options are:

- add more nodes to the Elasticsearch cluster
- divide the dashboard objects into separate, smaller dashboards
- use smaller time ranges in the dashboard time picker

Also, having high CPU utilization doesn't necessarily indicate a problem, unless something is becoming unresponsive - but you haven't mentioned that is happening.

---

<div class="post-metadata">

**Author:** ![ecarmona](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@ecarmona](https://discuss.elastic.co/u/ecarmona)\
**Post date:** [March 18, 2021, 8:57pm UTC](https://discuss.elastic.co/t/limint-the-threads-by-shards-and-cpu/267030/3 "2021-03-18T20:57:24Z")

</div>

Thank you @tsullivan!

---

<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:** [April 15, 2021, 8:57pm UTC](https://discuss.elastic.co/t/limint-the-threads-by-shards-and-cpu/267030/4 "2021-04-15T20:57:29Z")

</div>

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