From owner-freebsd-stable@FreeBSD.ORG Mon Nov 17 06:03:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 941031065673 for ; Mon, 17 Nov 2008 06:03:30 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 59E458FC1A for ; Mon, 17 Nov 2008 06:03:30 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id mAH63Rlr087969; Mon, 17 Nov 2008 01:03:27 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id mAH63Q54011870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Nov 2008 01:03:26 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200811170603.mAH63Q54011870@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 17 Nov 2008 01:03:24 -0500 To: "Poul-Henning Kamp" From: Mike Tancsa In-Reply-To: <73413.1226301391@critter.freebsd.dk> References: <73413.1226301391@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-stable@freebsd.org Subject: Re: fifo log problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2008 06:03:30 -0000 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