top and free report twice as much swap as I actually have
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Upon rebooting into 2.6.20-16-generic, top and free now report that I have 6GB of swap, as opposed to the 3GB that I have. Under previous kernel versions, I have always seen the correct amount of swap. There is no way I could have 6GB of swap; the partition is, and has always been, 3GB.
# top
top - 14:24:21 up 51 min, 9 users, load average: 0.40, 0.60, 1.11
Tasks: 141 total, 1 running, 140 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.8%us, 0.2%sy, 0.0%ni, 96.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1035780k total, 767544k used, 268236k free, 14104k buffers
Swap: 6072488k total, 34496k used, 6037992k free, 291508k cached
# free
total used free shared buffers cached
Mem: 1035780 771692 264088 0 14848 294424
-/+ buffers/cache: 462420 573360
Swap: 6072488 34496 6037992
# cfdisk
Heads: 255 Sectors per Track: 63 Cylinders: 30401
Name Flags Part Type FS Type [Label] Size (MB)
------
sda1 Boot Primary Linux ext3 [/] 246947.59
sda5 Logical Linux swap / Solaris 3109.16
What does 'swapon -s' say?