docs: Revise README#23
Open
polarathene wants to merge 1 commit into
Open
Conversation
polarathene
commented
Jun 12, 2026
Comment on lines
+20
to
+28
| Without proper handling, signals like `SIGTERM` might not be forwarded to child processes, | ||
| and zombie processes can accumulate, leading to resource leaks. | ||
|
|
||
| - **Signal Forwarding:** Intercepts signals like `SIGTERM` and | ||
| `SIGINT` and forwards them to its child process, allowing for | ||
| graceful shutdown. | ||
| - **Zombie Reaping:** Acts as an init process to reap orphaned child | ||
| processes, preventing zombie process accumulation. | ||
| `pid1-rs` solves this by providing: | ||
| - **Graceful Shutdown:** Intercepts the signals `SIGTERM` and `SIGINT`, | ||
| forwarding them to the child process. If the child does not exit within | ||
| a configurable grace period (default: 2s), a `SIGKILL` is sent. | ||
| - **Zombie Reaping:** Acts as an init process to reap orphaned child processes, | ||
| preventing the accumulation of zombie processes. |
Author
There was a problem hiding this comment.
I rewrote this portion, as the "Signal Forwarding" only appears to be applicable to SIGINT + SIGTERM, which is a notable difference from what tini and dumb-init offer (neither of which implements a graceful exit, given the container runtimes tend to provide this already which would conflict).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tini.Dockerfilesnippet at the end was modified to:alpineversion, that's dated and not providing much value to the reader with a pinned version there.pid1release version from0.1.0(2023), to the0.1.6(2026) release.