[CentOS] Re: why is this machine using swap space?

Scott Silva ssilva at sgvwater.com
Fri Jul 21 17:25:02 UTC 2006


Larry Vaden spake the following on 7/21/2006 10:10 AM:
> On 7/21/06, Scott Silva <ssilva at sgvwater.com>
> wrote:
>> Larry Vaden spake the following on 7/21/2006 8:05 AM:
>> > Mem:   2075040k total,  1331452k used,   743588k free,    50896k
>> buffers
>> > Swap:  2031608k total,      144k used,  2031464k free,  1191532k cached
>> >
>> > SunFire X2100 running Centos 4.3.
>> >
>> > Linux maytag1.texoma.net 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT
>> > 2006 i686 athlon i386 GNU/Linux
>> >
>> > rgds/ldv
>> 144k of used swap is minimal. As ling as pages aren't actively
>> swapping in and
>> out, it is no big deal.
> 
> OK, I agree that where there is smoke there is not always fire, but I
> still prefer a smoke-free environment.
> 
> rgds/ldv

 free
             total       used       free     shared    buffers     cached
Mem:       4044784    3895936     148848          0      52400    2152500
-/+ buffers/cache:    1691036    2353748
Swap:      2031608        160    2031448
You see that mine seems to have the same "problem". Although since this
machine has been up for a while, it has a lot of buffers filled.
But when I run vmstat;
 vmstat -n 5
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
1  0    160  63160  45836 2287448    0    0   104   121    3    16 20  3 75  2
2  0    160  61936  45840 2288668    0    0   256    30 1217 12652 27  4 69  0
1  0    160  60192  45868 2290544    0    0   366    26 1249 12876 27  4 68  1
1  0    160  58976  45872 2291764    0    0   256    18 1200 12345 27  4 69  0
2  0    160  57744  45876 2293120    0    0   256    42 1223 13458 27  4 68  0
1  0    160  56472  45912 2294648    0    0   310   102 1232 12667 26  4 70  1
1  0    160  55280  45928 2295584    0    0   206   272 1208 12431 27  3 70  0
1  0    160  54144  45948 2296856    0    0   258    16 1186 12633 27  3 69  0
1  0    160  52648  45956 2298412    0    0   307    55 1222 13441 27  4 69  0

No swapin or swapout

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!




More information about the CentOS mailing list