GrimReaper is a process killer, originally written to solve a problem of too long processed requests by the Django/flup. Any process can communicate with GrimReaper by the unix domain socket, and send the command to register itself (or other process) with the time (and the PID). If the GrimReaper doesn't receive the unregister command (with the same PID) before time passes, it will kill that process.
Usage of GrimReaper:
-logpath string
Path to the log file. (default "/var/log/GrimReaper.log")
-socket string
Path to the Unix Domain Socket. (default "/tmp/GrimReaper.socket")
-stdout
Log to stdout/stderr instead of to the log file.
-verbose string
Increase verbosity by passing one or more letters.
-version
print the GrimReaper version information and exit
- Kamil Essekkat Project's name
- Kamil Dzięcioł Code reviews