From owner-freebsd-questions@FreeBSD.ORG Thu Mar 6 10:40:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5E171065674 for ; Thu, 6 Mar 2008 10:40:08 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 120858FC25; Thu, 6 Mar 2008 10:40:07 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47CFCA07.4020100@FreeBSD.org> Date: Thu, 06 Mar 2008 11:40:07 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Neil Darlow References: <47CFC032.10806@darlow.co.uk> In-Reply-To: <47CFC032.10806@darlow.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade 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, 06 Mar 2008 10:40:08 -0000 Neil Darlow wrote: > Hi, > > I have recently upgraded from RELENG_6_3 to RELENG_7_0 via the source > method. I followed the upgrade instructions in the 7.0 release notes and > rebuilt all ports successfully. > > My hardware is a VIA EPIA PD10000 (VIA Centerhauls CPU) with gmirrored > IDE disks and GELI encrypted swap (using padlock). > > My kernel is GENERIC with removal of 386, 486 and 585 CPU support and > addition of options for: > > DEVICE_POLLING, HZ=1000, ALTQ, PFLOG, PFSYNC and QUOTA. > > I use PF for my firewalling and device polling on my two integrated Via > Rhine NICs. > > This setup worked great under RELENG_6_2 and RELENG_6_3 (only for a > short period due to RELENG_7_0 becoming available) with absolutely no > issues whatever. > > Since upgrading to RELENG_7_0 I have a problem when the nightly rotation > of logfiles occurs. A number of bzip2 processes appear which, with > syslogd, consume huge amounts of CPU. FreeBSD 7 switches to bzipping logfiles rather than gzipping. > Looking at the output of "top" I see that my interrupt CPU usage has > increased to 46% and userland CPU usage to 44%. The remainder is system > and there is no idle CPU time left. This should be unrelated to bzip since that is purely CPU bound. What is causing the interrupts? Check vmstat -i. That is likely to be your real problem. Kris