From owner-freebsd-questions@FreeBSD.ORG Mon Jul 3 10:28:59 2006 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 717A916A417 for ; Mon, 3 Jul 2006 10:28:59 +0000 (UTC) (envelope-from nocturnal@swehack.se) Received: from mail2.swebase.com (mail2.swebase.com [82.99.44.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23CB144A05 for ; Mon, 3 Jul 2006 10:28:53 +0000 (GMT) (envelope-from nocturnal@swehack.se) Received: from [82.99.47.5] by mail2.swebase.com (MDaemon.PRO.v8.1.0.R) with ESMTP id 55-md50000043077.msg for ; Mon, 03 Jul 2006 12:27:29 +0200 Message-ID: <44A8F0D6.4060307@swehack.se> Date: Mon, 03 Jul 2006 12:26:30 +0200 From: nocturnal User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: "Daan Vreeken [PA4DAN]" References: <44A8D770.5060808@swehack.se> <200607031157.58675.Danovitsch@vitsch.net> In-Reply-To: <200607031157.58675.Danovitsch@vitsch.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-Sender: nocturnal@swehack.se X-MDRemoteIP: 82.99.47.5 X-Return-Path: nocturnal@swehack.se X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail2 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 X-Spam-Level: X-Spam-Processed: mail2.swebase.com, Mon, 03 Jul 2006 12:27:33 +0200 Cc: freebsd-questions@freebsd.org Subject: Re: Interrupt using all the CPU 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: Mon, 03 Jul 2006 10:28:59 -0000 Hi The clock? interrupt total rate irq0: clk 25130235 99 irq1: atkbd0 4 0 irq6: fdc0 1 0 irq7: ppc0 1 0 irq8: rtc 288300 1 irq11: atapci1 637852 2 irq12: vr0 uhci0+ 3890833 15 irq13: npx0 1 0 irq14: ata0 54 0 Total 29947281 119 Also, in reply to Fabian Kell; top -S doesn't show me which process is using all the interrupt CPU, thank you for the tip. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Daan Vreeken [PA4DAN] wrote: > On Monday 03 July 2006 10:38, nocturnal wrote: >> Hi >> >> I'm having a few problems with a webserver. Today the idle was at 0.0 >> and it's still like this. It doesn't look like it's affecting web >> services but it looks weird and i'm afraid that the CPU is working it's >> ass off with something. Of course nothing shows up in top or ps that >> could indicate which process is taking up all this cpu and since >> interrupt is the one using it i'm not even sure anything is actually >> using up CPU since i don't know what interrupt is. Any hints or pointers >> would be appreciated. >> >> It looks like interrupt and system are fighting for percents, interrupt >> has 100% constantly and as soon as interrupt drops system takes exactly >> what's left over and sometimes system doesn't do it so idle gets a few >> percents. It's weird to me simply because i can't find a description of >> what interrupt shows in top anywhere in the manuals. > > Try "vmstat -i" to show you what device is causing the interrupts. > > grtz, > Daan > > >