reaper: gomodules.xyz/reaper Index | Files

package proc

import "gomodules.xyz/reaper"

Index

Package Files

proc_linux.go

func StartReaper Uses

func StartReaper(period time.Duration)

StartReaper starts a goroutine to reap processes periodically if called from a pid 1 process. If period is 0, then it is defaulted to 5 seconds. A caller can adjust the period depending on how many and how frequently zombie processes are created and need to be reaped.

Package proc imports 9 packages (graph). Updated 2020-12-03. Refresh now. Tools for package owners.