3 ms·
> fork() cannot fail with EMFILE or ENFILE[1] This is true. But if you believe you're only closing files or sockets in the child process, then running into thi
by bluejekyll 9y ago
> fork() cannot fail with EMFILE or ENFILE[1]
This is true. But if you believe you're only closing files or sockets in the child process, then running into this issue is very simple.
> > A parent process when it exits, requires that all child processes exit as well.
> This is not true
Sorry, you're right I was thinking of the SIGHUP to the child, it doesn't actually require an exit.