D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Swap not swap


Performance has suddenly gone to hell on a x86_64 machine running debian testing. I noticed in htop that nothing was ever showing in swap, so I checked with 'swapon -s', expecting to find that swap was off for some reason, but instead got this:

Filename                 Type            Size    Used    Priority
/dev/sda5                partition       4805628 0       -1

So the correct partition is allocated as swap as per /etc/fstab, but that "Used" figure of zero is bugging me. The machine has 2GB RAM, which is usually 90%+ allocated according to htop.

Anyone recognize this?

Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63
The Mailing List for the Devon & Cornwall LUG
FAQ: http://www.dcglug.org.uk/listfaq