-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update zombie processes provider script, doc
- Enhanced zombie process detection by implementing `pstree` logic to ensure only `containerd-shim` descendants are targeted, serving as a safeguard to prevent non-containerized system processes from being affected. - Introduced a configurable threshold for zombie count, with a default of 50. - Improved handling of SIGCHLD and SIGKILL signals to target only persistent zombies. - Added logging functionality with `logger -t kill_zombie_parents` (in crontab), recording actions in the systemd journal. - Updated crontab job frequency to run every 15 minutes instead of 5 minutes. - Updated documentation with new examples and usage instructions.
- Loading branch information
1 parent
ceab265
commit f5c4ca3
Showing
1 changed file
with
147 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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