On Tue, 2010-11-09 at 23:24 +0200, Fatih Tümen wrote: 
> On Fri, Nov 5, 2010 at 08:45, Iain Buchanan <iai...@netspace.net.au> wrote:
> > OK so vm.swappiness seemed to help a bit but today I notice that swap
> > usage is up again.  It's firefox:
> >
> >  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> > 14072 iain      20   0 1369m 897m  15m S    3 29.5 113:14.91 firefox
> >
> > I think that's 1.3Gb + 900Mb... sounds like a memory leak to me.
> >
> > Anyone else run firefox for 113+ hours?  I'm using 3.6.9-r1.
> >
> 
> 1.3G is the grant total of Res and Swap.  You need to read man top
> before judging not-entirely-accurate values reported by top.

judging? I only said "I think"!

sure, top has it's quirks, but it's ok for comparing against itself.

> 900M is resident on your main memory. '113+ hours' is not a decent
> information to draw conclusion from. Running firefox for 113+ hours
> with a single tab on a text-only website is not same as running dozens
> of tabs with dozens of multimedia/embedded objects.

sure, but running it for 10 or 100 or 1000 hours should produce roughly
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 all,
now I'm seeing high swap usage.  I usually never use my 3G of physical
RAM.

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.

-- 
Iain Buchanan <iai...@netspace.net.au>



Reply via email to