[Dnsmasq-discuss] Log to database
Sergey Nechaev
spnechaev at yandex-team.ru
Tue Jun 14 11:17:09 BST 2016
Hello,
Logging to a pipe is dangerous, because if no one reads from pipe write system call will block after internal kernel buffer is full.
If write is not non-blocking and is not wrapped into poll/select/epoll/whatever else (Normally, log calls are blocking), the whole dnsmasq process will stuck.
You can rotate log files more often and process log file after rotation.
--
With best regards,
Sergey Nechaev
> 13 июня 2016 г., в 22:42, Joachim Zobel <jz-2014 at heute-morgen.de> написал(а):
>
> Oooops, logging to a pipe is not supported. Got the point ...
>
> Sincerely,
> Joachim
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160614/ea850bf7/attachment.bin>
More information about the Dnsmasq-discuss
mailing list