Skip to content

Decrease the wait time before SIGKILL#269

Merged
deepikas20 merged 3 commits intomainfrom
time_out
Aug 6, 2025
Merged

Decrease the wait time before SIGKILL#269
deepikas20 merged 3 commits intomainfrom
time_out

Conversation

@deepikas20
Copy link
Copy Markdown
Contributor

@deepikas20 deepikas20 commented Jul 31, 2025

Describe your changes

Docker daemon (dockerd) typically sends a SIGTERM signal after 10 seconds. Previously, we waited 20 seconds before sending a SIGKILL, but systemd would sometimes reach its timeout and forcefully terminate the process before then approximately at 14-15 seconds. To prevent this issue I havve decreased the wait time to 13 seconds before sending SIGKILL. SIGTERM sometimes stops the process gracefully but it’s not always reliable so making this change is necessary.

Checklist before requesting a review

  • I have performed a self-review of my own code
  • I have verified that the code builds perfectly fine on my local system
  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have verified that my code follows the style already available in the repository
  • I have made corresponding changes to the documentation

Change-Id: Icd9c6e11d797a95b84e70e7c89b5cbb72d2e3f2e
@deepikas20 deepikas20 requested review from a team as code owners July 31, 2025 10:15
Change-Id: I43105b58aa65a13c68b89a54a33ae2e6fe15af44
Change-Id: If5a5ba4c96e4b28ad6e6e5ea7b9ba77ddb303ea1
@deepikas20 deepikas20 merged commit ae31038 into main Aug 6, 2025
13 checks passed
@deepikas20 deepikas20 deleted the time_out branch August 6, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants