I think that the fork mechanism is slower on the virtualbox virtual machine because EVFILT_PROC detects the child. On Sun, Jun 18, 2017 at 2:04 AM Philip Guenther <[email protected]> wrote:
> On Sat, 17 Jun 2017, Luke Small wrote: > > It works if you put a waitpid() in there, but if that is true, what's the > > point of having ke.data returning the status when the wait() series will > do > > it? > > You can use kevent() to see the exit status of a process that you cannot > waitpid() for. > > > Note that kevent() EVFILT_PROC filters don't reap zombies, so your program > is accumulating zombie children until you reach your process limit. > > As for the behavior of EVFILT_PROC on an already exited process, I look > forward to your sendbug report. > > > Philip Guenther >
