Skip to content

SIGCHLD doesn't reap properly #44

@vishvananda

Description

@vishvananda

If this is intended to be pid 1, it needs to properly reap orphan processes by handling SIGCHLD. There should be a handler for SIGCHLD that essentially does:

while (waitpid((pid_t)(-1), 0, WNOHANG) > 0) {};

more info here:

http://stackoverflow.com/questions/20688982/zombie-process-vs-orphan-process

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions