Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Activating swapfile swap [fail] after 9.04 upgrade

  1. #11
    Join Date
    Oct 2009
    Beans
    1

    Re: Activating swapfile swap [fail] after 9.04 upgrade

    I have the same problem with Ubuntu 9.04 jaunty.
    The swap file exists, and all tests show that it is working fine, but is never used.

    The problem is that free memory is never released by the kernel, so the system gets really slow, and has to reboot to clear the memory.

    I added a cronjob to reboot the server everyday at 5am.

    # swapon -s
    Filename Type Size Used Priority
    /dev/sda5 partition 3903752 0 -1

    I recreated the swap partition, but did not help.

    This is a serious problem now, and we are considering moving back to 8.04.2 which was the last version that utilized swap.

    Please help.

  2. #12
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: Activating swapfile swap [fail] after 9.04 upgrade

    After lot of trying I relized that 9.04 tries to use swapfile and all gets confused when swap partition is present. If you remove swap partition, this would be the brute force cure.
    But I manged to solve it by

    Code:
    sudo swapoff -a
    sudo mkswap -U <UUID> /dev/sdb...
    sudo swapon -a
    somehow to get rid of the swapfile.
    Delted then the swapfile and all seemed ok.

  3. #13
    Join Date
    Jun 2010
    Beans
    2

    Re: Activating swapfile swap [fail] after 9.04 upgrade

    I do get this "activating swapfil swap Fail" on my linux VPS. on top of that when I type any command, it ask me for password. Now i am very confused what password do I need to put.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •