lhcb-org / lbpkr

Go-based installer for RPMs and Dockers
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

zombie sub-processes #16

Closed sbinet closed 10 years ago

sbinet commented 10 years ago

lbpkr may create zombie sub-processes (e.g. when it's being killed while the rpm command is actually installing a big RPM package with lots of files (e.g. gcc))

lbpkr manages a list of all the sub-processes it created and kills them, but that isn't always sufficient.

use a process-group, put all the sub-processes in that process-group and kill the process-group when lbpkr is being killed.