From owner-freebsd-stable@FreeBSD.ORG Wed May 9 13:58:14 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B07F816A402 for ; Wed, 9 May 2007 13:58:14 +0000 (UTC) (envelope-from bill@lefebvre.org) Received: from atl04.ws-e.com (vh00.ws-e.com [69.61.31.90]) by mx1.freebsd.org (Postfix) with ESMTP id 5763B13C45A for ; Wed, 9 May 2007 13:58:14 +0000 (UTC) (envelope-from bill@lefebvre.org) Received: from lilburn.lefebvre.org (ocee.groupsys.com [66.149.10.161]) by atl04.ws-e.com (8.13.6/8.13.6) with ESMTP id l49Dgs6m032801 for ; Wed, 9 May 2007 09:42:55 -0400 (EDT) (envelope-from bill@lefebvre.org) Received: from [192.168.0.110] (decatur.lefebvre.org [192.168.0.110]) by lilburn.lefebvre.org (8.13.8/8.13.8) with ESMTP id l49DgoAi090614 for ; Wed, 9 May 2007 09:42:51 -0400 (EDT) (envelope-from bill@lefebvre.org) Message-ID: <4641CFDA.9020805@lefebvre.org> Date: Wed, 09 May 2007 09:42:50 -0400 From: Bill LeFebvre User-Agent: Thunderbird 1.5.0.9 (X11/20070131) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED autolearn=failed version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on lilburn.lefebvre.org X-Scanned-By: MIMEDefang 2.57 on 192.168.0.4 Subject: Re: top shows '' 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: Wed, 09 May 2007 13:58:14 -0000 Ken Chen wrote: > When I use 'top' command to check my system, some processes are shown like > ''. The manual told these processes are swapped out. > > But my problem is .. I don't have swapping device (swapoff -a). Where are > they swapped to ? > > last pid: 29144; load averages: 0.69, 0.67, 0.82 > up 19+11:25:27 21:05:03 > 89 processes: 1 running, 88 sleeping > CPU states: 1.2% user, 0.0% nice, 0.9% system, 0.0% interrupt, > 97.8%idle > Mem: 309M Active, 27M Inact, 127M Wired, 19M Cache, 60M Buf, 4136K Free > Swap: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 29141 nobody 1 4 0 37164K 15932K select 0 0:00 4.55% php > 28856 nobody 1 4 -15 36936K 7612K sbwait 0 0:44 1.66% php > . > . > . > 29116 nobody 1 4 -15 33732K 13140K accept 0 0:00 0.00% php > 24937 nobody 1 8 -15 31740K 0K wait 1 0:00 0.00% > 24948 nobody 1 8 -15 31740K 0K wait 0 0:00 0.00% > 24931 nobody 1 8 -15 31740K 0K wait 0 0:00 0.00% > 24950 nobody 1 8 -15 31740K 0K wait 1 0:00 0.00% > 24932 nobody 1 8 -15 31740K 220K wait 1 0:00 0.00% php The <> are only used when the process flag PS_INMEM is clear, which is supposed to indicate that the process is or is not "in memory". This flag is only ever cleared in swapout, called from swapout_procs. My bet is that the processes are being marked for swap but the dirty pages never actually go anywhere since you don't have a backing store. Maybe someone more familiar with the inner workings of the VM system can fill us in on what happens on a system with no swap. Bill LeFebvre