From owner-freebsd-current@FreeBSD.ORG Tue Jan 22 13:54:15 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01D4616A41B for ; Tue, 22 Jan 2008 13:54:15 +0000 (UTC) (envelope-from gizmen@blurp.pl) Received: from albion.azs.pwr.wroc.pl (albion.azs.pwr.wroc.pl [156.17.17.145]) by mx1.freebsd.org (Postfix) with ESMTP id B0FE313C447 for ; Tue, 22 Jan 2008 13:54:14 +0000 (UTC) (envelope-from gizmen@blurp.pl) Received: from [10.8.1.58] (unknown [213.172.177.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by albion.azs.pwr.wroc.pl (Postfix) with ESMTP id 656661152C for ; Tue, 22 Jan 2008 14:38:55 +0100 (CET) From: Bartosz Giza Organization: BLURP.pl To: freebsd-current@freebsd.org Date: Tue, 22 Jan 2008 14:38:53 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801221438.53254.gizmen@blurp.pl> X-Mailman-Approved-At: Tue, 22 Jan 2008 16:08:18 +0000 Subject: bsnmpd daemon eating all cpu X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 13:54:15 -0000 Hi, I am using dell poweredge sc440 router with one xeon dual core cpu. This is basicly only router for dummynet firewall dhcpd and named. I want to run bsnmpd daemon but when i start it it starts eating all cpu from one core. I have run truss to check what it is doing and i have got huge amount of such syscalls gettimeofday({1201008182.366354},0x0) = 0 (0x0) I want to use this daemon because it is in base system but if i could not run this daemon in normal way i will be forced to use net-snmpd port. I have basic config with hotres module added. I am running freebsd 7.0-prerelease. Alsa what is strange i have exactly the same machine with freebsd 7.0-prerelase but with only one network card for testing and bsnmpd behaves normal. Could some one help me with this. I can send dump from truss or even do some more testing. Second strange thing is when i have compiled kernel with ULE scheduler bsnmpd shoed me 100% cpu utilization on both cores for all time. And after recompiling kernel with 4BSD it shows good numbers for cpu utilization. PS. Please cc me i am subscribed to the list.