# Kibana blocks when executing slow Timelion queries

**URL:** <https://discuss.elastic.co/t/kibana-blocks-when-executing-slow-timelion-queries/159139>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [December 3, 2018, 10:16am UTC](https://discuss.elastic.co/t/kibana-blocks-when-executing-slow-timelion-queries/159139 "2018-12-03T10:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mczagany](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@mczagany](https://discuss.elastic.co/u/mczagany)\
**Post date:** [December 3, 2018, 10:16am UTC](https://discuss.elastic.co/t/kibana-blocks-when-executing-slow-timelion-queries/159139/1 "2018-12-03T10:16:35Z")

</div>

Hi,

We use Grafana for visualization with a plugin to access Timelion in our Kibana setup. The problem we ran into is that whenever we run a bigger query (e.g request a whole month of data and group by some field) our whole Kibana instance freezes.

If I understand it correctly, Kibana is running on a single thread and when Timelion has to process the data it receives from ES it blocks this single thread.

Is there any solution to handle multiple Timelion queries at the same time other than running multiple Kibana instances?

Best Regards,  
Máté

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [December 4, 2018, 4:59pm UTC](https://discuss.elastic.co/t/kibana-blocks-when-executing-slow-timelion-queries/159139/2 "2018-12-04T16:59:07Z")

</div>

What time interval are you using for the timelion request? Maybe a larger interval will help so there is less data to process on the server?

This does sound like a performance bug with the way timelion is structured. Can you open a bug report at [https://github.com/elastic/kibana/issues/new?template=Bug\_report.md](https://github.com/elastic/kibana/issues/new?template=Bug_report.md) and please provide examples of the expression that is causing performance problems.

Thanks,  
Nathan

---

<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:** [January 1, 2019, 4:59pm UTC](https://discuss.elastic.co/t/kibana-blocks-when-executing-slow-timelion-queries/159139/3 "2019-01-01T16:59:17Z")

</div>

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