From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 9 21:08:41 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15771AEC for ; Thu, 9 Jan 2014 21:08:41 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E8571ED4 for ; Thu, 9 Jan 2014 21:08:40 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id y1so2621189lam.11 for ; Thu, 09 Jan 2014 13:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=B0UJXGiAYS7/L7HJAcuLI+J3ebW/fRZgTib7Eje4V4Q=; b=X9Ae7gEH/8BWRlQN/p665NNSs1IOQUa0eXH8GwaVurGJC7IKqJVCpo6wtfndgtYbJb Gou9hvc8q6cTWyGG1msuFuwhwX2kM8qdXZoXI7uWw3yg8bkdz1O5JPACeL5K557yzSmk 55MLazK1xUDLMT9fjJEqbFMnWA2wd9R6q6b4GVH9zpkqytwZGTiCROSygf1faestE6/1 /3rWCugEC7Owh7j4jHptoAvQ4udIlQHs1g9g4FmC3g9DG/7owKfnieXpou9tgC8PQgls lDYWkw2p0utz/cG2EfExyl7IL0nHeRA5nTVWOOwNKM6YhDtrf1Igo/VT5o2hsKt5xDmU vIkQ== X-Received: by 10.152.115.130 with SMTP id jo2mr2303866lab.2.1389301718376; Thu, 09 Jan 2014 13:08:38 -0800 (PST) Received: from [10.0.1.20] ([176.193.50.79]) by mx.google.com with ESMTPSA id e10sm2515289laa.6.2014.01.09.13.08.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 13:08:37 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: FreeBSD-10 and processes swapping out for no reason From: Dmitry Sivachenko In-Reply-To: Date: Fri, 10 Jan 2014 01:08:35 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: hackers@freebsd.org X-Mailer: Apple Mail (2.1827) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 21:08:41 -0000 On 07 =D1=8F=D0=BD=D0=B2. 2014 =D0=B3., at 20:16, Dmitry Sivachenko = wrote: > Hello! >=20 > Recently I updated several of my servers from 9.2-STABLE 10.0: > 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r259661 >=20 > Workload did not change at all, same programs, same load, same = hardware. >=20 > I noticed that some of the processes on 10.0 boxes are marked as = swapped out in top(1) output: >=20 > 1436 root 1 43 0 16524K 0K nanslp 14 1:14 0.00% = > 1381 smmsp 1 20 0 23988K 0K pause 18 0:04 0.00% = 99348 mitya 1 21 0 23492K 0K pause 16 0:00 = 0.00% >=20 > ps also shows them as swapped out (W as second character in state = field): > 1381 - IWs 0:00.00 sendmail: Queue runner@00:30:00 for = /var/spool/clie > 1436 - IWs 0:00.00 /usr/sbin/cron -s > 80231 - IWs 0:00.00 /usr/local/sbin/collectdmon -c = /usr/local/sbin/coll > 99348 1 IWs 0:00.00 -csh (csh) >=20 > These machines have enought RAM and that never happened on 9.2-STABLE. >=20 > I turned off swap: > # swapinfo > Device 1K-blocks Used Avail Capacity > # >=20 > And state of these processes did not change: still second characted in = state field of ps output is W, and top shows them in angles. >=20 > How should I treat that? >=20 > Thanks. Anyone else observing this? Right now looks like I can't trust top(1) = values for RES and ps(1) states.