From owner-freebsd-questions@FreeBSD.ORG Thu Aug 25 06:22:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C11B516A41F for ; Thu, 25 Aug 2005 06:22:21 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7192843D45 for ; Thu, 25 Aug 2005 06:22:21 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j7P6MJFV020315; Thu, 25 Aug 2005 01:22:19 -0500 (CDT) (envelope-from dan) Date: Thu, 25 Aug 2005 01:22:19 -0500 From: Dan Nelson To: Chris St Denis Message-ID: <20050825062219.GD88693@dan.emsphone.com> References: <20050824113200.SM00756@chris> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050824113200.SM00756@chris> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Corrupt entries in /var/log/messages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2005 06:22:21 -0000 In the last episode (Aug 24), Chris St Denis said: > Occasionally I get entries like this in my log. It looks like more > than one process is logging at the same time. Shouldn't syslogd be > thread/SMP/concurrency safe from this kind of thing? > > Aug 24 05:29:44 sakura kernel: <<66>>ppiidd 119942486 9( (hthttptdpd)),, uiudi d 808:0 :e xeixtietde do no ns isginganla l 1111 Syslog is a single-threaded process, but that line is a console log entry, and two process that coredump simultaneously on an SMP machine will cause both CPUs to printf a message to the console simultaneously, which gives you your interleaved output. > In an unrelated note, I'm getting a few " *** POKED TIMER ***" > messages in the syslog from named, anyone know what this is? I found > a few questions about in the archive, but no answers (telling > somebody to search the archive isn't any good when that's the only > answer found) It's a debugging message that prints when pthread_cond_timedwait() doesn't return correctly. Within the last month or so (depending on what branch you're running), /usr/sbin/named was switched to be built non-threaded, so if you update your tree and rebuild named, the message will disappear. -- Dan Nelson dnelson@allantgroup.com