query logging to FIFO

Danny Mayer mayer at gis.net
Fri Nov 10 02:34:48 UTC 2000


		Did you look at how syslogd does it?

				Danny

At 09:13 PM 11/9/00 +0000, peek775 at my-deja.com wrote:
>I know from looking at the bind source code that
>bind closes logfiles after making an entry. Does
>it also do this for FIFOs?
>
>The reason I ask is that I have bind8 logging all
>queries to a FIFO. Another process reads from the
>FIFO and processes the information in real time. I
>have a problem with my code because it seems to be
>stuck in a busy loop reading EOF from the FIFO.
>This ramps up the CPU utilization of my process.
>It looks like this is caused from bind closing the
>FIFO for writing, and then re-opening it when it
>has more data to dump in.
>
>Any help???
>
><#include stddisclaimer.h>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
> 



More information about the bind-users mailing list