Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2008 11:48:00 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: fifo log problem 
Message-ID:  <200811031647.mA3GlruN025099@lava.sentex.ca>
In-Reply-To: <43507.1225730046@critter.freebsd.dk>
References:  <Your message of "Mon, 03 Nov 2008 10:47:39 EST." <200811031547.mA3FlVVs024666@lava.sentex.ca> <43507.1225730046@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:34 AM 11/3/2008, Poul-Henning Kamp wrote:
>In message <200811031547.mA3FlVVs024666@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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811031647.mA3GlruN025099>