From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 17:21:15 2010 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 9A66D106564A for ; Sat, 9 Oct 2010 17:21:15 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward8.mail.yandex.net (forward8.mail.yandex.net [77.88.61.38]) by mx1.freebsd.org (Postfix) with ESMTP id 2E50F8FC14 for ; Sat, 9 Oct 2010 17:21:14 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward8.mail.yandex.net (Yandex) with ESMTP id 838A016F0361 for ; Sat, 9 Oct 2010 21:05:47 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1286643947; bh=EKTs/DoLbrQrToeIzyCctH4Zu922q1deo02d5y6EbwM=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=Xr/nqDajLe9ke1RC0jKGcsKB97jpTU+YbZIEMvMadC5WP1m3aXD9j8OHjJi+u/3Tt o4nJxyNOlZMTMw1KdXCIBgu8LW0qhJ1Vs6n4AtuiYeWJRA0s/BD+b0HTkzD+sb4+5x QHZaiIbO1SMKdYTcezVl4xTccBmQizNIF5DAgH8Y= Received: from kes.in (unknown [77.93.42.18]) by smtp8.mail.yandex.net (Yandex) with ESMTPA id 135F8202808E for ; Sat, 9 Oct 2010 21:05:47 +0400 (MSD) Date: Sat, 9 Oct 2010 20:05:48 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <783674951.20101009200548@yandex.ru> To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1286643947 X-Yandex-Spam: 1 X-Yandex-Front: smtp8.mail.yandex.net Subject: How to obtain which interrupts cause system to hang? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2010 17:21:15 -0000 Hello, all. #systat -v 1 users Load 0.74 0.71 0.55 Oct 9 19:53 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 344564 20024 682912 25008 666084 count All 365928 20456 1074476k 26504 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 24 cow 2008 total 2 3 39 23k 67 563 9 1710 47 15 zfod 9 ata0 irq14 ozfod nfe0 irq23 23.1%Sys 50.8%Intr 1.3%User 0.0%Nice 24.8%Idle %ozfod 1999 cpu0: time | | | | | | | | | | | daefr ============+++++++++++++++++++++++++> 6 prcfr 2 dtbuf 38 totfr Namei Name-cache Dir-cache 100000 desvn react Calls hits % hits % 85834 numvn pdwak 142 142 100 24988 frevn pdpgs intrn Disks ad0 257868 wire KB/t 15.48 312852 act tps 11 785308 inact MB/s 0.16 468 cache %busy 1 665636 free #top last pid: 24571; load averages: 0.10, 0.49, 0.50 up 0+19:15:01 19:56:36 42 processes: 3 running, 39 sleeping CPU: 0.7% user, 0.0% nice, 21.0% system, 36.3% interrupt, 41.9% idle Mem: 305M Active, 767M Inact, 252M Wired, 468K Cache, 213M Buf, 650M Free Swap: 4063M Total, 4063M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1054 bind 4 4 0 134M 109M kqread 0:51 0.00% named 986 root 1 44 0 5692K 1408K RUN 0:50 0.00% syslogd 1162 clamav 1 4 0 4616K 1468K accept 0:46 0.00% smtp-gated 11731 clamav 1 20 0 27948K 9728K pause 0:03 0.00% freshclam 11791 root 1 -58 0 7848K 4120K bpf 0:02 0.00% arpwatch 13208 root 1 44 0 10700K 4144K select 0:01 0.00% sendmail 13298 root 1 8 0 6748K 1440K nanslp 0:00 0.00% cron 12802 root 1 44 0 22880K 4004K select 0:00 0.00% sshd How to obtain what nasty happen, which process take 36-50% of CPU resource? -- mailto:kes-kes@yandex.ru