fifo log problem
Mike Tancsa
mike at sentex.net
Mon Nov 3 08:47:56 PST 2008
At 11:34 AM 11/3/2008, Poul-Henning Kamp wrote:
>In message <200811031547.mA3FlVVs024666 at lava.sentex.ca>, Mike Tancsa writes:
>
> >Seems to work fine with cat
>
>Ok, and the loss is not from one end, it is random records in
>the middle ?
Yes, they seem to initially get written and then tail off for some
reason. I am not sure why. Actually, if I SIGHUP syslogd, it seems
to make a difference, in that I can generally see when newsyslog sig
HUPs syslog to do log rotation. Perhaps this is confusing things ?
e.g.
1225628270 Nov 2 07:17:50 st32278 ovpn-kit[1047]: Initialization
Sequence Completed
1225641602 Nov 2 11:00:02 st32278 syslogd: restart
1225641608 Nov 2 11:00:08 st32278 ppp[927]: tun0: Chat: deflink:
Redial timer expired.
In this snippet the last entry was 07:17 for some reason and then the
SIGHUP from newsyslog seems to wake things up for some reason.
---Mike
>--
>Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
>phk at FreeBSD.ORG | TCP/IP since RFC 956
>FreeBSD committer | BSD since 4.3-tahoe
>Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-stable
mailing list