menu
techminis

A naukri.com initiative

google-web-stories
source image

Socprime

1M

read

27

img
dot

Image Credit: Socprime

How to Check What Task is Stuck and Cancel it on Dev-tools

  • To check and cancel stuck tasks on Dev-tools, follow these steps:
  • 1) Use the command 'GET _cat/tasks?v&h=id,ip,action,type,task_id,timestamp,running_time' to identify stuck tasks.
  • 2) Use the command 'GET _tasks?actions=*/&detailed' to get details of a specific stuck task.
  • 3) Use the command 'POST /_tasks//_cancel' to cancel a long-running task.
  • 4) If cancellation is not possible, restart the node where the task is running.

Read Full Article

like

1 Like

For uninterrupted reading, download the app