# Elasticsearch load is low, batch write latency is high, how to check the problem

**URL:** <https://discuss.elastic.co/t/elasticsearch-load-is-low-batch-write-latency-is-high-how-to-check-the-problem/268975>\
**Category:** Elasticsearch\
**Created:** [April 1, 2021, 3:26am UTC](https://discuss.elastic.co/t/elasticsearch-load-is-low-batch-write-latency-is-high-how-to-check-the-problem/268975 "2021-04-01T03:26:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bxl](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@bxl](https://discuss.elastic.co/u/bxl)\
**Post date:** [April 1, 2021, 3:26am UTC](https://discuss.elastic.co/t/elasticsearch-load-is-low-batch-write-latency-is-high-how-to-check-the-problem/268975/1 "2021-04-01T03:26:15Z")

</div>

elasticsearch load is low, batch write latency is high, how to check the problem , thanks

```auto
13:24:27 22.6s{
  "completed" : false,
  "task" : {
    "node" : "6nPgzz7_Q96pQzAompMFUQ",
    "id" : 470791605,
    "type" : "transport",
    "action" : "indices:data/write/bulk[s]",
    "status" : {
      "phase" : "rerouted"
    },
    "description" : "requests[1178], index[order_474]",
    "start_time_in_millis" : 1617197067488,
    "running_time_in_nanos" : 23322629616,
    "cancellable" : false,
    "parent_task_id" : "6nPgzz7_Q96pQzAompMFUQ:470791598",
    "headers" : { }
  }
}
13:24:27 22.5s{
  "completed" : false,
  "task" : {
    "node" : "U8NwB6i1SAWLpu8tX4241A",
    "id" : 133112682,
    "type" : "netty",
    "action" : "indices:data/write/bulk[s]",
    "status" : {
      "phase" : "waiting_on_primary"
    },
    "description" : "requests[1178], index[order_474]",
    "start_time_in_millis" : 1617197067527,
[root@CCLT-BL000591 .y]# head -n 50 c.txt 
13:24:23 26.8s{
  "completed" : false,
  "task" : {
    "node" : "U8NwB6i1SAWLpu8tX4241A",
    "id" : 133111967,
    "type" : "netty",
    "action" : "indices:data/write/bulk[s]",
    "status" : {
      "phase" : "waiting_on_primary"
    },
    "description" : "requests[612], index[item_411]",
    "start_time_in_millis" : 1617197063224,
    "running_time_in_nanos" : 26965101894,
    "cancellable" : false,
    "parent_task_id" : "r6gbkwdTRDSUUooaLfWZPw:861626961",
    "headers" : { }
  }
}
13:24:23 26.8s{
  "completed" : false,
  "task" : {
    "node" : "U8NwB6i1SAWLpu8tX4241A",
    "id" : 133111968,
    "type" : "direct",
    "action" : "indices:data/write/bulk[s][p]",
    "status" : {
      "phase" : "primary"
    },
    "description" : "requests[612], index[item_411]",
    "start_time_in_millis" : 1617197063226,
    "running_time_in_nanos" : 26972116722,
    "cancellable" : false,
    "parent_task_id" : "U8NwB6i1SAWLpu8tX4241A:133111967",
    "headers" : { }
  }
}
13:24:23 26.5s{
  "completed" : false,
  "task" : {
    "node" : "np9WVtzUQNOMFWrfksfq7g",
    "id" : 1100912635,
    "type" : "transport",
    "action" : "indices:data/write/bulk[s]",
    "status" : {
      "phase" : "rerouted"
    },
    "description" : "requests[396], index[item_411]",
    "start_time_in_millis" : 1617197063561,
    "running_time_in_nanos" : 26641739744,
    "cancellable" : false,

```

---

<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:** [April 1, 2021, 7:09am UTC](https://discuss.elastic.co/t/elasticsearch-load-is-low-batch-write-latency-is-high-how-to-check-the-problem/268975/2 "2021-04-01T07:09:43Z")

</div>

I believe you will need to provide a bit more information in order for someone to be able to help.

Which version of Elasticsearch are you using?

What is your use case?

What is the specification of your Elasticsearch cluster in terms of number of nodes, hardware, type of storage used and configuration?

What is the full output of the cluster stats API?

---

<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 29, 2021, 7:10am UTC](https://discuss.elastic.co/t/elasticsearch-load-is-low-batch-write-latency-is-high-how-to-check-the-problem/268975/3 "2021-04-29T07:10:14Z")

</div>

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