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

[cobalt-users] Swap priority/usage



I've got a 256m Raq4 configured with a 128m swap.  It never shows any usage
in MRTG or any other listing (top, /proc/meminfo, /proc/swaps, etc).  Oddly
enough, as I started poking around, I noticed that the priority is -2.  Is
this 'normal' and would this prevent swap from being used?

[root admin]# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  263733248 226050048 37683200 397815808 70115328 87859200
Swap: 134688768        0 134688768
MemTotal:    257552 kB
MemFree:      36800 kB
MemShared:   388492 kB
Buffers:      68472 kB
Cached:       85800 kB
SwapTotal:   131532 kB
SwapFree:    131532 kB

[root admin]# cat /proc/swaps
Filename                        Type            Size    Used    Priority
/dev/hda6                       partition       131532  0       -2

[top output]
Mem:   257552K av,  221584K used,   35968K free,  388784K shrd,   68472K
buff
Swap:  131532K av,       0K used,  131532K free                   86464K
cached

Is it not odd that it is NEVER used?  MRTG has never shown even a small blip
into swap when compiling, backing-up, installing, etc. or when under heavy
load...maybe I'm just looking for a reason to worry <g>.

Paul