From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-115945-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1PAcRo-00076B-T8
	for garchives@archives.gentoo.org; Tue, 26 Oct 2010 05:51:49 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B06EBE0602;
	Tue, 26 Oct 2010 05:51:06 +0000 (UTC)
Received: from mail2.pcorp.com.au (mail2.pcorp.com.au [150.101.72.19])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3F140E0602
	for <gentoo-user@lists.gentoo.org>; Tue, 26 Oct 2010 05:51:06 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by mail2.pcorp.com.au (Postfix) with ESMTP id CE2191075197
	for <gentoo-user@lists.gentoo.org>; Tue, 26 Oct 2010 15:21:01 +0930 (CST)
X-Virus-Scanned: amavisd-new at mail2.pcorp.com.au
Received: from mail2.pcorp.com.au ([127.0.0.1])
	by localhost (mail2.pcorp.com.au [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UVcF2ivWu8be; Tue, 26 Oct 2010 15:21:01 +0930 (CST)
Received: from [172.16.0.52] (unknown [172.16.0.52])
	by mail2.pcorp.com.au (Postfix) with ESMTPSA id 6DAF11075194
	for <gentoo-user@lists.gentoo.org>; Tue, 26 Oct 2010 15:21:00 +0930 (CST)
Subject: [gentoo-user] swap usage creeping up
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset="ISO-8859-1"
Date: Tue, 26 Oct 2010 15:19:07 +0930
Message-ID: <1288072147.8318.56.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.30.3 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 9fec233c-f162-48f1-b23b-5293ba4544b0
X-Archives-Hash: 10837d08dd56ed3a1b77cd385a479e01

Hi,

over the last week or so I've noticed unusually large swap usage.  I
usually hibernate this laptop and have uptimes up to 12 days so apps can
run for a long time.  I don't usually use any swap space (except for a
few k).

If I swapoff and swapon, the usage falls back to zero but then creeps up
again over a few days.

$ free -m
             total       used       free     shared    buffers     cached
Mem:          3040        859       2181          0         38        415
-/+ buffers/cache:        406       2634
Swap:          494        431         62

nothing unusual there, except for the swap usage itself.  'top' doesn't
show any large apps.  sorted by mem the top 4 are:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
 8318 iain      20   0  494m 150m  21m S    0  5.0   1:20.67 evolution          
20424 iain      20   0  342m  77m  30m S    0  2.5   0:01.84 firefox            
 8009 root      20   0 83364  37m 6260 S    7  1.2  38:34.31 X                  
 8090 iain      20   0  159m  32m 1600 S    1  1.1   3:48.08 skype              

Hm, I just noticed Mem is in %.  % of what?  % total or % used?  Even if
it was % of total RAM that could be as much as 152Mb for evo and 76Mb
for firefox.  Not that much really.

any ideas?

thanks :)
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Chuck Norris once skewered a man with the Eiffel tower.