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-116631-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1PHzrb-0000Jt-RW
	for garchives@archives.gentoo.org; Mon, 15 Nov 2010 14:17:00 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D6CF7E06FA;
	Mon, 15 Nov 2010 14:16:47 +0000 (UTC)
Received: from mail2.pcorp.com.au (mail2.pcorp.com.au [150.101.72.19])
	by pigeon.gentoo.org (Postfix) with ESMTP id F17D0E06FA
	for <gentoo-user@lists.gentoo.org>; Mon, 15 Nov 2010 14:16:46 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by mail2.pcorp.com.au (Postfix) with ESMTP id 673A1107519B
	for <gentoo-user@lists.gentoo.org>; Mon, 15 Nov 2010 23:46:45 +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 eUA76NIaa45x; Mon, 15 Nov 2010 23:46:40 +0930 (CST)
Received: from [172.16.0.62] (dsl-203-113-237-227.SA.netspace.net.au [203.113.237.227])
	by mail2.pcorp.com.au (Postfix) with ESMTPSA id 18E16107519A
	for <gentoo-user@lists.gentoo.org>; Mon, 15 Nov 2010 23:46:39 +0930 (CST)
Subject: Re: [gentoo-user] swap usage creeping up
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
In-Reply-To: <AANLkTi=CcROoyVePe5TMMBzs4ZwYv7yhpin31HuvNYtO@mail.gmail.com>
References: <1288072147.8318.56.camel@localhost>
	 <AANLkTinpCrpc6O+FECTWs_7AcXBCQ17Y0LGeZtM3ihm=@mail.gmail.com>
	 <1288076539.8318.116.camel@localhost> <1288219650.8318.168.camel@localhost>
	 <20101028004454.2d6cc500@zaphod.digimed.co.uk> <4CC8BCEB.50904@gmail.com>
	 <AANLkTimh9SCbVJVDurE5JfYXHXXyJz7QFfKoLp4+3QiZ@mail.gmail.com>
	 <4CC8F45A.10001@gmail.com>
	 <AANLkTi=pcvHCEhL=L=tF2Cq+zY73YYEMUUhDRtQLNYy0@mail.gmail.com>
	 <4CC91904.7070506@gmail.com> <1288939512.14313.187.camel@localhost>
	 <AANLkTi=iLtq2kiq0qFUQfy=DdTpFBxUCRXSwcdz0vzZ8@mail.gmail.com>
	 <1289797773.3977.10.camel@localhost>
	 <AANLkTi=CcROoyVePe5TMMBzs4ZwYv7yhpin31HuvNYtO@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Date: Mon, 15 Nov 2010 23:44:36 +0930
Message-ID: <1289830476.3977.46.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: quoted-printable
X-Archives-Salt: d2412432-2c49-40f2-9256-7f752ddae8b4
X-Archives-Hash: 172448afd7bfeee7bf35236ebf9ea38a

On Mon, 2010-11-15 at 10:41 +0200, Fatih T=FCmen wrote:
> On Mon, Nov 15, 2010 at 07:09, Iain Buchanan <iaindb@netspace.net.au> w=
rote:

> > sure, but running it for 10 or 100 or 1000 hours should produce rough=
ly
> > the same characteristics for the same browsing behaviour if all other
> > things are equal.  A few months ago this didn't cause any issues at a=
ll,
> > now I'm seeing high swap usage.  I usually never use my 3G of physica=
l
> > RAM.
> >
>=20
> Can you recall what significant change have you made to the system?
> For emerged packages you can try smth like genlop --list --date 1
> month ago and then check against the versions upgraded from.

sure, only EVERYthing has been updated... including firefox and the
kernel!

> > Again today I see it is using about 900Mb in total, which seems quite
> > large.  vm.swappiness is set to 0.  I've upgraded firefox to 3.6.12.
> >
> > I had to reboot, but I'll check the usual statistics next time I see =
it.
> >
>=20
> You say swappiness is set to 0 but dont give any swap usage info.

that's cause I had to reboot and swap was back to 0.

>  If
> there is any swap usage while swapiness is 0 then it would be weird
> and we could blame it on the kernel.

_any_ swap usage?  right now I'm using 110Mb of swap with 1.8Gb free
physical RAM and vm.swapiness is 0!

$ free -m
             total       used       free     shared    buffers     cached
Mem:          3040       1206       1834          0         61        246
-/+ buffers/cache:        898       2142
Swap:          494        110        383


$ cat /proc/sys/vm/swappiness
0

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND     =
      =20
 3192 iain      20   0  554m 204m  27m S    9  6.7  26:31.94 firefox     =
      =20


> I just googled mem usage firefox as I am running out of ideas.

but thanks for the suggestions anyway :)  I'll keep googling!

--=20
Iain Buchanan <iaindb at netspace dot net dot au>

Allen's Axiom:
	When all else fails, read the instructions.