Re: Memory Resources - Howto Refresh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eduardo A. dela Rosa wrote:

After days of work, without rebooting my box, it suddenly slowed down. My filesystem is just
...
[edelarosa@eadelarosa xxx]$ free
             total       used       free     shared    buffers     cached
Mem:        505220     428728      76492          0      16860     195208
-/+ buffers/cache:   216660     288560
Swap:      1052248     194312     857936

Swapping *might* be the cause of your system suddenly slowing down, but it doesn't seem like the most likely thing. Over half of your physical RAM is available.

Run "vmstat 2" and watch the colums under "swap". From my own system:

procs                      memory      swap          io     system         cpu
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy wa id
 0  0  19076 227272  92392 236828    0    0     9    31  218   147  5  6  0 90
 0  0  19076 227248  92392 236828    0    0     0     0  180   170  0  0  0 100
 0  0  19076 227248  92392 236828    0    0     0    30  192   235  0  0  0 100
 0  0  19076 227116  92392 236828    0    0     0     0  287   523  1  0  0 99
 0  0  19076 227116  92392 236828    0    0     0     8  246  1294 38  3  0 59

So, over a period of 8 seconds, no blocks were swapped in ("si" column)
and no blocks of memory were swapped out ("so" column).  If you see
activity in one of those columns, then your machine is swapping.  You
can use that to judge whether swap is affecting your machine.

If not swap, you'll have to be more specific about what's slowed down to
get more useful advice.


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux