William, Am 30.05.2018 um 19:45 schrieb William Lallemand: >> @William Lallemand Possibly the sd_notifyf should be moved below >> mworker_unblock_signals in mworker_wait? >> > > This shouldn't happen with or without systemd. I can reproduce it without > using systemd, we should not rely on an external component to mitigate the > problem.
Yes, I agree. But I believe that readiness should be signaled as late as possible to ensure that everything is set-up correctly. So the `sd_notifyf` should be moved down below the signal registering, no? Even if it does not fix this issue it is technically incorrect. The ideal case would be the workers signaling their status to the master (which in turn signals to SystemD). Is this part of your current work on master-worker Willy announced in his 1.9 mail? Personally I'd like to see that workers are able to send information like the number of requests handled to the master to be able to display them in SystemD [1] Best regards Tim Düsterhus [1] https://www.freedesktop.org/software/systemd/man/sd_notify.html#STATUS=%E2%80%A6

