# Long running uncancellable transport task

**URL:** <https://discuss.elastic.co/t/long-running-uncancellable-transport-task/290138>\
**Category:** Elasticsearch\
**Created:** [November 25, 2021, 8:10am UTC](https://discuss.elastic.co/t/long-running-uncancellable-transport-task/290138 "2021-11-25T08:10:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunsw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hunsw/32/93637_2.png) [@hunsw](https://discuss.elastic.co/u/hunsw)\
**Post date:** [November 25, 2021, 8:10am UTC](https://discuss.elastic.co/t/long-running-uncancellable-transport-task/290138/1 "2021-11-25T08:10:23Z")

</div>

I have a transport task that cannot be cancelled, but has been running for 60+ days. I have 2 questions:

1. Is there anything I can do to make this task disappear OTHER than restarting the node? (E.g. should I try to close then re-open the indices the task is trying to index into?)

2. How could this happen? 🙂 (Bonus question is how to prevent/avoid this from happening again.)

Version 7.5.

```auto
{
  "completed" : false,
  "task" : {
    "node" : "xxxxxxxxxx",
    "id" : 2906259661,
    "type" : "transport",
    "action" : "indices:data/write/bulk",
    "description" : "requests[200], indices[oldindex-from-september1, oldindex-from-september-2, another-old-index-from-the-same-day-as-the-other-two]",
    "start_time_in_millis" : xxxxxxxxxx,
    "running_time_in_nanos" : xxxxxxxxxxxxxxxx,
    "cancellable" : false,
    "headers" : { }
  }
}

```

---

<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:** [December 23, 2021, 8:10am UTC](https://discuss.elastic.co/t/long-running-uncancellable-transport-task/290138/2 "2021-12-23T08:10:38Z")

</div>

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