saltstack / saltstack/salt

How to control task timeout on minion from master?

Open
#60,193 4 comments 0 reactions 2 assignees View on GitHub

@xeacott is already working on this.

Since May 21, 2021.

Question Windows
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

There is a situation, when the master sends a script task to all minions below him, if a server has very few idle resources, the script may remain stuck and cannot be executed. As more and more tasks are issued, this leads to There are more and more python processes on the server, and eventually server resources are slowly exhausted. So when the master sends a command to minon (using saltclient), can you set the task execution timeout time?

Of course, I found two timeout settings when using saltclient, but they are not what I want. Are there other hidden configurations? I hope to get community support.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.