# Data/write/bulk tasks appearing on master nodes

**URL:** https://discuss.elastic.co/t/data-write-bulk-tasks-appearing-on-master-nodes/285375
**Category:** Elasticsearch
**Created:** [September 28, 2021, 2:39pm UTC](https://discuss.elastic.co/t/data-write-bulk-tasks-appearing-on-master-nodes/285375 "2021-09-28T14:39:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![skijash](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@skijash](https://discuss.elastic.co/u/skijash)
#### Post date: [September 28, 2021, 2:39pm UTC](https://discuss.elastic.co/t/data-write-bulk-tasks-appearing-on-master-nodes/285375/1 "2021-09-28T14:39:20Z")

</div>

I'm seeing some strange usage patters on dedicated master nodes in a 5.6.16 Elasticsearch cluster.  
Master nodes seem to be having excessive heap pressure during some workloads, causing them to crash with OOM errors. When fetching the tasks for the current master with

```auto
GET _tasks?nodes=LI7yjqmNRUiHfHzanCQmeQ&actions=*bulk&detailed

```

some bulk write tasks appear, but without any details about the index or the exact query.

```auto
{
  "nodes": {
    "LI7yjqmNRUiHfHzanCQmeQ": {
      "name": "xxx_master-1",
      "transport_address": "10.0.201.159:9300",
      "host": "10.0.201.159",
      "ip": "10.0.201.159:9300",
      "roles": [
        "master"
      ],
      "attributes": {
        "ml.max_open_jobs": "10",
        "ml.enabled": "true"
      },
      "tasks": {
        "LI7yjqmNRUiHfHzanCQmeQ:100703207": {
          "node": "LI7yjqmNRUiHfHzanCQmeQ",
          "id": 100703207,
          "type": "transport",
          "action": "indices:data/write/bulk",
          "description": "",
          "start_time_in_millis": 1632838233217,
          "running_time_in_nanos": 256009211,
          "cancellable": false
        }
      }
    }
  }
}

```

I have two concerns, why aren't there any details in the response, and why are there bulk write tasks running on a dedicated master? Any ideas?  
Thanks,  
Nikola

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 28, 2021, 10:32pm UTC](https://discuss.elastic.co/t/data-write-bulk-tasks-appearing-on-master-nodes/285375/2 "2021-09-28T22:32:10Z")

</div>

Welcome to our community! 😃

> [@skijash](#):
>
> 5.6.16 Elasticsearch cluster

5.X is very well past [EOL](https://www.elastic.co/support/eol). You need to upgrade as a matter of serious urgency as you are unlikely to get any advice other than "upgrade" sorry to say.

> [@skijash](#):
>
> Master nodes seem to be having excessive heap pressure during some workloads, causing them to crash with OOM errors

We'd need to see the logs. And the output from the `_cluster/stats?pretty&human` API?

But your best bet is to upgrade.

---

<div class="post-metadata">

### Author: ![skijash](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@skijash](https://discuss.elastic.co/u/skijash)
#### Post date: [September 30, 2021, 11:58am UTC](https://discuss.elastic.co/t/data-write-bulk-tasks-appearing-on-master-nodes/285375/3 "2021-09-30T11:58:27Z")

</div>

Thanks for the welcome!  
Yes, the migration to ES v7 is underway, but until that is finished, these v5 clusters still need some care.  
This was more of a theoretical question, why would `"action": "indices:data/write/bulk"` appear on a dedicated master, and why doesn't it provide any details for the task (description is empty)?

---

<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 28, 2021, 11:58am UTC](https://discuss.elastic.co/t/data-write-bulk-tasks-appearing-on-master-nodes/285375/4 "2021-10-28T11:58:49Z")

</div>

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