[Dnsmasq-discuss] log_stderr + SIGPIPE
ino-news at spotteswoode.dnsalias.org
Wed Sep 29 16:53:07 BST 2010
Simon Kelley wrote:
> I'm pretty sure that writes will simply block if the reader at the
> other end of the pipe is too slow. EPIPE occurs for the writer when
> the reader actually closes the file descriptor.
> Of course if you were using a syslogd you could turn on asychronous
> logging in dnsmasq and this problem would disappear....
Good idea. I usually use the per-process logger if I can help it,
because then I don't get all sorts of daemon logs lumped together.
There are other benefits as well. OTOH, if it avoids that deadlock,
I'll switch to using some syslog variant that has good filtering.
More information about the Dnsmasq-discuss