Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2008 01:03:24 -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:  <200811170603.mAH63Q54011870@lava.sentex.ca>
In-Reply-To: <73413.1226301391@critter.freebsd.dk>
References:  <Your message of "Mon, 03 Nov 2008 20:43:53 EST." <200811040143.mA41hjaa029665@lava.sentex.ca> <73413.1226301391@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:16 AM 11/10/2008, Poul-Henning Kamp wrote:
>In message <200811040143.mA41hjaa029665@lava.sentex.ca>, 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...

There is nothing really strange about the config.  Any idea on how to resolve?

         ---Mike 




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