From owner-freebsd-questions@FreeBSD.ORG Thu Mar 6 10:11:38 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 1F1D71065672 for ; Thu, 6 Mar 2008 10:11:38 +0000 (UTC) (envelope-from neil@darlow.co.uk) Received: from queueout03-winn.ispmail.ntl.com (queueout03-winn.ispmail.ntl.com [81.103.221.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9458FC26 for ; Thu, 6 Mar 2008 10:11:37 +0000 (UTC) (envelope-from neil@darlow.co.uk) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080306100242.NYYW27871.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Thu, 6 Mar 2008 10:02:42 +0000 Received: from router.darlow.co.uk ([80.6.42.220]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080306100514.WMVP26699.aamtaout03-winn.ispmail.ntl.com@router.darlow.co.uk> for ; Thu, 6 Mar 2008 10:05:14 +0000 Received: from router.darlow.co.uk (localhost [127.0.0.1]) by router.darlow.co.uk (Postfix) with ESMTP id 8DA8F1033A5 for ; Thu, 6 Mar 2008 09:58:11 +0000 (GMT) Received: from [192.168.0.241] (aurora.darlow.co.uk [192.168.0.241]) by router.darlow.co.uk (Postfix) with ESMTPSA id 1FB12103361 for ; Thu, 6 Mar 2008 09:58:10 +0000 (GMT) Message-ID: <47CFC032.10806@darlow.co.uk> Date: Thu, 06 Mar 2008 09:58:10 +0000 From: Neil Darlow User-Agent: Thunderbird 2.0.0.12 (X11/20080228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.6 OpenPGP: id=531F9048 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamSMTP-1.9/ClamAV-0.92.1 Subject: 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:11:38 -0000 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. 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. The bzip2 processes appear to be running very slowly. Looking at /var/log/ you can see the logfiles have been renamed but not compressed although, given a long time, I believe they will be. I must point out that I'm using SCHED_4BSD and not SCHED_ULE on this system. I am aware that ULE has been reported to suffer from this type of problem. I'm at a bit of a loss as to where to look next. At present I am rebuilding the kernel with i586 support just in case gcc-4.2.1 has introduced a code generation incompatibility that might affect my VIA CPU somehow. Any suggestions gratefully received. Please CC me as I'm not subscribed to the list. Regards, Neil Darlow