Stefan Metzmacher via samba-technical
2018-04-24 09:28:05 UTC
Hi,
here's a small optimization to reinit_after_fork_pipe_handler().
Once the pipe is disconnected we should unregister the fd event handler
in order to avoid a 100% cpu loop.
In practice this doesn't happen as the SIGTERM event handler will be
called first, but due to a work in progress bug I was able to
trigger that loop during private autobuilds...
Please review and push:-)
Thanks!
metze
here's a small optimization to reinit_after_fork_pipe_handler().
Once the pipe is disconnected we should unregister the fd event handler
in order to avoid a 100% cpu loop.
In practice this doesn't happen as the SIGTERM event handler will be
called first, but due to a work in progress bug I was able to
trigger that loop during private autobuilds...
Please review and push:-)
Thanks!
metze