Re: fifo log problem



In message <200811040143.mA41hjaa029665@xxxxxxxxxxxxxx>, Mike Tancsa writes:

I tried changing the config so that there is only the fifo log being
written to and disabled newsyslog so that syslogd is not getting a
HUP signal. The strange thing is that reading from it gives
different results?!?

Sometimes doing
[ps0278]# fifolog_reader all.fifo | wc
From 0 Wed Dec 31 19:00:00 1969
To 1225760679 Mon Nov 3 20:04:39 2008
Read from 1d800
59 413 3068
0[ps0278]#

and a exactly for 1min it will show the correct results

0[ps0278]# fifolog_reader all.fifo | wc
From 0 Wed Dec 31 19:00:00 1969
To 1225760538 Mon Nov 3 20:02:18 2008
Read from 0
10765 75995 556816
0[ps0278]#

I could fear that you have two fifologs running at the same time,
possibly as a result of syslogd doing something strange on sighup...

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: fifo log problem
    ... >I tried changing the config so that there is only the fifo log being ... possibly as a result of syslogd doing something strange on sighup... ...
    (freebsd-stable)
  • Re: FreeBSD 5.3b7and poor ata performance
    ... At 12:02 PM 19/10/2004, fandino wrote: ... Its strange that you do not see any difference in speed when reading from ... Considering the RELENG_4 box is a Celeron 1000 blasting a ad0: ...
    (freebsd-current)
  • Re: FreeBSD 5.3b7and poor ata performance
    ... Mike Tancsa wrote: ... > Its strange that you do not see any difference in speed when reading ...
    (freebsd-current)
  • Re: SuperDuper and "time elapsed"
    ... Tim Lance wrote: ... Strange "time elapsed" field glitch. ... It was reading ...
    (comp.sys.mac.apps)
  • Re: The Dr. K Book
    ... commercial books downloaded for reading on the PC. ... Amatus ... >>> The change in direction of this thread is strange. ... That is how the manuscript was submitted. ...
    (sci.med.dentistry)