# How to resolve rejected \`execution of org.elasticsearch.common.util.concurrent.TimedRunnable\`

**URL:** <https://discuss.elastic.co/t/how-to-resolve-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable/199461>\
**Category:** Elasticsearch\
**Created:** [September 13, 2019, 4:52pm UTC](https://discuss.elastic.co/t/how-to-resolve-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable/199461 "2019-09-13T16:52:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathanburgess](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathanburgess/32/34520_2.png) [@nathanburgess](https://discuss.elastic.co/u/nathanburgess)\
**Post date:** [September 13, 2019, 4:52pm UTC](https://discuss.elastic.co/t/how-to-resolve-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable/199461/1 "2019-09-13T16:52:11Z")

</div>

Last night our ES production server got bogged down for the first time and the only recent change (a few weeks ago) was enabling future mode for all search requests. I'm really new to ES and not sure at all how to go about fixing this. My first thought is maybe we need more shards? Or maybe fewer shards?

Any help would be greatly appreciated.

```
{
  "_nodes" : {
    "total" : 2,
    "successful" : 2,
    "failed" : 0
  },
  "timestamp" : 1568393471474,
  "status" : "green",
  "indices" : {
    "count" : 2,
    "shards" : {
      "total" : 4,
      "primaries" : 2,
      "replication" : 1.0,
      "index" : {
        "shards" : {
          "min" : 2,
          "max" : 2,
          "avg" : 2.0
        },
        "primaries" : {
          "min" : 1,
          "max" : 1,
          "avg" : 1.0
        },
        "replication" : {
          "min" : 1.0,
          "max" : 1.0,
          "avg" : 1.0
        }
      }
    },
    "docs" : {
      "count" : 1276350,
      "deleted" : 331573
    },
    "store" : {
      "size" : "23.5gb",
      "size_in_bytes" : 25253154700
    },
    "fielddata" : {
      "memory_size" : "0b",
      "memory_size_in_bytes" : 0,
      "evictions" : 0
    },
    "query_cache" : {
      "memory_size" : "238mb",
      "memory_size_in_bytes" : 249645656,
      "total_count" : 1516983968,
      "hit_count" : 584409067,
      "miss_count" : 932574901,
      "cache_size" : 79912,
      "cache_count" : 429094,
      "evictions" : 349182
    },
    "completion" : {
      "size" : "0b",
      "size_in_bytes" : 0
    },
    "segments" : {
      "count" : 56,
      "memory" : "27.7mb",
      "memory_in_bytes" : 29106703,
      "terms_memory" : "23.8mb",
      "terms_memory_in_bytes" : 24959669,
      "stored_fields_memory" : "3.4mb",
      "stored_fields_memory_in_bytes" : 3598200,
      "term_vectors_memory" : "0b",
      "term_vectors_memory_in_bytes" : 0,
      "norms_memory" : "145.1kb",
      "norms_memory_in_bytes" : 148608,
      "points_memory" : "190.2kb",
      "points_memory_in_bytes" : 194770,
      "doc_values_memory" : "200.6kb",
      "doc_values_memory_in_bytes" : 205456,
      "index_writer_memory" : "0b",
      "index_writer_memory_in_bytes" : 0,
      "version_map_memory" : "266b",
      "version_map_memory_in_bytes" : 266,
      "fixed_bit_set" : "0b",
      "fixed_bit_set_memory_in_bytes" : 0,
      "max_unsafe_auto_id_timestamp" : -1,
      "file_sizes" : { }
    }
  },
  "nodes" : {
    "count" : {
      "total" : 2,
      "data" : 2,
      "coordinating_only" : 0,
      "master" : 2,
      "ingest" : 2
    },
    "versions" : ["6.7.0"],
    "os" : {
      "available_processors" : 8,
      "allocated_processors" : 8,
      "names" : [ {
        "count" : 2
      } ],
      "pretty_names" : [ {
        "pretty_name" : "Amazon Linux AMI 2018.03",
        "count" : 2
      } ],
      "mem" : {
        "total" : "31.3gb",
        "total_in_bytes" : 33646977024,
        "free" : "1.3gb",
        "free_in_bytes" : 1482551296,
        "used" : "29.9gb",
        "used_in_bytes" : 32164425728,
        "free_percent" : 4,
        "used_percent" : 96
      }
    },
    "process" : {
      "cpu" : {
        "percent" : 14
      },
      "open_file_descriptors" : {
        "min" : 1202,
        "max" : 1234,
        "avg" : 1218
      }
    },
    "jvm" : {
      "max_uptime" : "64.4d",
      "max_uptime_in_millis" : 5571353354,
      "mem" : {
        "heap_used" : "6.1gb",
        "heap_used_in_bytes" : 6606791360,
        "heap_max" : "15.9gb",
        "heap_max_in_bytes" : 17110138880
      },
      "threads" : 265
    },
    "fs" : {
      "total" : "391.7gb",
      "total_in_bytes" : 420608950272,
      "free" : "368gb",
      "free_in_bytes" : 395199074304,
      "available" : "348gb",
      "available_in_bytes" : 373690683392
    },
    "network_types" : {
      "transport_types" : {
        "netty4" : 2
      },
      "http_types" : {
        "filter-jetty" : 2
      }
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [September 20, 2019, 9:29am UTC](https://discuss.elastic.co/t/how-to-resolve-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable/199461/2 "2019-09-20T09:29:39Z")

</div>

Hi @nathanburgess,

seeing the actual exception message including full stack trace could be helpful here, I hope you can share that?

It could sound like you overloaded the [search thread pool](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-threadpool.html) by submitting too many async search requests, the stack trace and/or message will likely reveal that.

---

<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:** [October 18, 2019, 9:29am UTC](https://discuss.elastic.co/t/how-to-resolve-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable/199461/3 "2019-10-18T09:29:41Z")

</div>

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