Public bug reported:
Somehow, after upgrading from Dapper to Edgy, my laptop started to
report double the previous swap memory. At the same time, I noticed that
under certain circumstances the laptop became very slow and some
applications got stalled. For instance, when running synaptic, sometimes
complained it has failed when forking due to a lack of memory.
The problem disappears if I disable and then enable the swap partition:
$ sudo swapon -s
Password:
Filename Type Size Used Priority
/dev/hda2 partition 979956 0 -1
/dev/mapper/hda2 partition 979956 0 -2
$ sudo swapoff -a
$ sudo swapon -a
$ sudo swapon -s
Filename Type Size Used Priority
/dev/mapper/hda2 partition 979956 0 -3
The problem seems to be related to the use of UUID in /etc/fstab. If I
replace the line:
UUID=2f7932b2-2272-41a5-a421-427d88fa852b none swap sw 0 0
with:
/dev/hda2 none swap sw 0 0
after rebooting, the laptop reports the right swap size:
$ sudo swapon -s
Password:
Filename Type Size Used Priority
/dev/hda2 partition 979956 128560 -1
Hope this is helpful,
Nico
** Affects: util-linux (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
Swap partition enabled twice
https://launchpad.net/bugs/68710
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs