From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 22:12:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EE2616A4A6 for ; Fri, 23 Jun 2006 22:12:53 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF69C43D46 for ; Fri, 23 Jun 2006 22:12:52 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 483AE290C6F; Fri, 23 Jun 2006 19:12:48 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21003-08; Fri, 23 Jun 2006 19:12:51 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id BC439290C6E; Fri, 23 Jun 2006 19:12:47 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 336A548E1B; Fri, 23 Jun 2006 19:12:54 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2B3F93E7DF; Fri, 23 Jun 2006 19:12:54 -0300 (ADT) Date: Fri, 23 Jun 2006 19:12:54 -0300 (ADT) From: "Marc G. Fournier" To: Charles Swiger In-Reply-To: <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> Message-ID: <20060623191131.C1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 22:12:53 -0000 On Fri, 23 Jun 2006, Charles Swiger wrote: > On Jun 23, 2006, at 4:44 PM, Marc G. Fournier wrote: >> procs memory page disks faults cpu >> r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy >> id >> 1 42 1 10249060 161668 1290 54 12 3 1409 2202 102 0 751 6416 3350 24 >> 15 61 >> 0 39 0 10148976 148104 654 10 5 2 660 0 49 0 615 4440 2584 18 >> 9 73 >> >> the last time it hung, it hit about 45 ... about 6 hours ago, it was at >> ~5-10 ... anything I should look at to figure out where those 39+ are >> 'busy'? > > 'b' stands for "blocked", not "busy". Judging by your page fault rate and > the high number of frees and pages being scanned, you're probably swapping > tasks in and out and are waiting on disk. Take a look at "vmstat -s", and > consider adding more RAM if this is correct... 'k, I will keep an eye on things and check vmstat -s as those numbers grow higher ... thanks for hte clarification on 'blocked' vs 'busy' :( What specifically should I be looking at in vmstat -s? note that the server just rebooted, 0 swap is used: # pstat -s Device 1K-blocks Used Avail Capacity /dev/da0s1b 8388608 0 8388608 0% and vmstat -s is showing: # vmstat -s 8434656 cpu context switches 2554513 device interrupts 430486 software interrupts 4353484 traps 21299255 system calls 36 kernel threads created 28399 fork() calls 1708 vfork() calls 0 rfork() calls 0 swap pager pageins 0 swap pager pages paged in 0 swap pager pageouts 0 swap pager pages paged out 31750 vnode pager pageins 209538 vnode pager pages paged in 15954 vnode pager pageouts 219494 vnode pager pages paged out 20 page daemon wakeups 648514 pages examined by the page daemon 16508 pages reactivated 1014412 copy-on-write faults 5389 copy-on-write optimized faults 1982109 zero fill pages zeroed 1070481 zero fill pages prezeroed 1626 intransit blocking page faults 3786729 total VM faults taken 0 pages affected by kernel thread creation 2344822 pages affected by fork() 299231 pages affected by vfork() 0 pages affected by rfork() 3360377 pages freed 0 pages freed by daemon 1672560 pages freed by exiting processes 618892 pages active 275063 pages inactive 42967 pages in VM cache 66898 pages wired down 6398 pages free 4096 bytes per page 36972009 total name lookups cache hits (97% pos + 0% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% thx ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664