Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] swap usage creeping up
Date: Mon, 15 Nov 2010 05:12:30
Message-Id: 1289797773.3977.10.camel@localhost
In Reply to: Re: [gentoo-user] swap usage creeping up by "Fatih Tümen"
1 On Tue, 2010-11-09 at 23:24 +0200, Fatih Tümen wrote:
2 > On Fri, Nov 5, 2010 at 08:45, Iain Buchanan <iaindb@××××××××××××.au> wrote:
3 > > OK so vm.swappiness seemed to help a bit but today I notice that swap
4 > > usage is up again. It's firefox:
5 > >
6 > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7 > > 14072 iain 20 0 1369m 897m 15m S 3 29.5 113:14.91 firefox
8 > >
9 > > I think that's 1.3Gb + 900Mb... sounds like a memory leak to me.
10 > >
11 > > Anyone else run firefox for 113+ hours? I'm using 3.6.9-r1.
12 > >
13 >
14 > 1.3G is the grant total of Res and Swap. You need to read man top
15 > before judging not-entirely-accurate values reported by top.
16
17 judging? I only said "I think"!
18
19 sure, top has it's quirks, but it's ok for comparing against itself.
20
21 > 900M is resident on your main memory. '113+ hours' is not a decent
22 > information to draw conclusion from. Running firefox for 113+ hours
23 > with a single tab on a text-only website is not same as running dozens
24 > of tabs with dozens of multimedia/embedded objects.
25
26 sure, but running it for 10 or 100 or 1000 hours should produce roughly
27 the same characteristics for the same browsing behaviour if all other
28 things are equal. A few months ago this didn't cause any issues at all,
29 now I'm seeing high swap usage. I usually never use my 3G of physical
30 RAM.
31
32 Again today I see it is using about 900Mb in total, which seems quite
33 large. vm.swappiness is set to 0. I've upgraded firefox to 3.6.12.
34
35 I had to reboot, but I'll check the usual statistics next time I see it.
36
37 --
38 Iain Buchanan <iaindb@××××××××××××.au>

Replies

Subject Author
Re: [gentoo-user] swap usage creeping up "Fatih Tümen" <fthtmn+gentoo@×××××.com>