1 |
On Fri, Nov 5, 2010 at 08:45, Iain Buchanan <iaindb@××××××××××××.au> wrote: |
2 |
> OK so vm.swappiness seemed to help a bit but today I notice that swap |
3 |
> usage is up again. It's firefox: |
4 |
> |
5 |
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND |
6 |
> 14072 iain 20 0 1369m 897m 15m S 3 29.5 113:14.91 firefox |
7 |
> |
8 |
> I think that's 1.3Gb + 900Mb... sounds like a memory leak to me. |
9 |
> |
10 |
> Anyone else run firefox for 113+ hours? I'm using 3.6.9-r1. |
11 |
> |
12 |
|
13 |
1.3G is the grant total of Res and Swap. You need to read man top |
14 |
before judging not-entirely-accurate values reported by top. |
15 |
|
16 |
900M is resident on your main memory. '113+ hours' is not a decent |
17 |
information to draw conclusion from. Running firefox for 113+ hours |
18 |
with a single tab on a text-only website is not same as running dozens |
19 |
of tabs with dozens of multimedia/embedded objects. |
20 |
|
21 |
You say swap usage was up again but dont give data about it. 472M is |
22 |
what top would report in the above case but it is an unrealictic |
23 |
values as it is uncompressed size. output of cat /proc/swaps or free |
24 |
is what one needs to see. |
25 |
|
26 |
Also make sure that you put the swapiness value which you say worked |
27 |
for you in /etc/sysctl.conf. |
28 |
|
29 |
-- |
30 |
Fatih |