# Timeouts ignored in multisearch?

**URL:** <https://discuss.elastic.co/t/timeouts-ignored-in-multisearch/23673>\
**Category:** Elasticsearch\
**Created:** [May 22, 2015, 6:54pm UTC](https://discuss.elastic.co/t/timeouts-ignored-in-multisearch/23673 "2015-05-22T18:54:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![msukmanowsky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/msukmanowsky/32/44771_2.png) [@msukmanowsky](https://discuss.elastic.co/u/msukmanowsky)\
**Post date:** [May 22, 2015, 6:54pm UTC](https://discuss.elastic.co/t/timeouts-ignored-in-multisearch/23673/1 "2015-05-22T18:54:53Z")

</div>

Hi all,

We're doing an analysis of our slow queries (via slowlog) and noticing that  
any queries made with msearch seem to ignore the timeout parameter. We've  
tried passing it three ways:

GET my\_index/\_msearch?timeout=100  
{}  
{big aggregation query}

and

GET my\_index/\_msearch  
{"timeout": 100}  
{big aggregation query}

and finally:

GET my\_index/\_msearch?timeout=100  
{"timeout": 100}  
{big aggregation query}

​

Multisearch results always return long after 100ms with "timed\_out": false  
indicating that they're ignoring our request here. This is very problematic  
as we need certain aggregation queries to timeout if they're too greedy to  
allow others to run.

Can anyone confirm if this is the case?

Mike

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/b94c31a3-c57a-403b-8d70-a8c2a47682af%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b94c31a3-c57a-403b-8d70-a8c2a47682af%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, 12:12am UTC](https://discuss.elastic.co/t/timeouts-ignored-in-multisearch/23673/2 "2017-07-06T00:12:18Z")

</div>

Closed on July 6, 2017, 12:12am UTC


