Unix systems, and other Unix-like operating systems, use the term "swap" to describe both the act of moving memory pages between RAM and disk, and the region of a disk the pages are stored on. In some of those systems, it is common to use a separate whole partition of a hard disk for swapping. These ...

learn more… | top users | synonyms

-1
votes
1answer
40 views

How to create a swapfile?

I have a 500Gib hard disk and 2Gib of RAM. I have ubuntu 12.04 When I originally particioned the disk, I had unallocated space because I had another disk with Windows in it. This disk died, so I had ...
0
votes
1answer
25 views

How to delete a file from / how to delete a file

I made this: sudo make swap /swapfile.swap because I had no swap partition. Before that I put this command: sudo dd if=/dev/zero of=/swapfile.swap bs=4086 count=1048576. The last number is ...
1
vote
2answers
196 views

Can swap be on a different disk?

I have 16GB of RAM and the core system is run on 128GB sddisk. So I don't have space to use 16/32 GB for swap. Can I create swap on another hard disk? Or it has to be on the same disk as the system? ...
0
votes
0answers
17 views

How to Get Windows Back After Accidentally Selecting it as Swap [duplicate]

I installed Ubuntu 14.4 LTS on my laptop with Windows installed to use as dual-boot but during the installation, it asked me to select a partition to use as swap. Thinking that it won't be formatted, ...
1
vote
0answers
23 views

Lot's of swap is in use but ram has plenty of free space

To fix the issue(system freeze when copy large file) i changed the scheduler from cfq to deadline. I am not sure that scheduler affect the swap uses or not. I have 8 GB of ram, 2.0 GHz corei7 ...
4
votes
1answer
65 views

How to prevent my system from becoming unresponsive when thrashing (out of RAM)?

I have 8GB of RAM, but sometimes I'm running a couple VMs and enough Chrome processes to use up most of my memory. That's usually fine, but sometimes my system starts thrashing, and it's difficult ...
0
votes
1answer
45 views

Ubuntu 12.04: memory always above 80% and swap around 50-60%

I have been using ubuntu 12.04 on my system for a long time. Suddenly the system has become too slow and cpu utlization is always above 80%. I have attached the screenshots which displays the usage at ...
0
votes
1answer
39 views

GParted problems with swap and extended partition [duplicate]

After some partition table problems I finally ran up my Ubuntu and GParted to see my partitions. Then some window appeared. I clicked Cancel and then second one appeared. I clicked Cancel once ...
2
votes
1answer
77 views

Gnome 14.10 memory leak, over 5gb of gnome-shell [closed]

I am experiencing a pretty huge memory leak from gnome-shell and after a while memory is up to over 5gb. I have 8gb of system memory and when the system start using swap the whole system slows down a ...
1
vote
1answer
19 views

How to pause a process until memory requirements drop

I'm compiling source code in the terminal but 75% of the time the build will freeze my system and I have to hard reboot or wait for a LONG time until oom kills it. I'm positive it's a memory issue ...
0
votes
1answer
29 views

Multiboot ubuntu, Elementary, Windows, joint swap or sparate ones?

I've been using Ubuntu for a long time with dual boot alongside windows 7, and used EasyBCD software to create Linux entry in the MBR, now I want to install Elementary without damaging either Ubuntu ...
0
votes
1answer
24 views

View swap usage in kb using top command

I want to find swap used by each interior thread. I used top to view all the running processes and used shift+h(H) to view all threads and I used shift+o(O) with option p to view swap used by each ...
-1
votes
1answer
104 views

ecryptfs-setup-swap freezes

My computer started freezing with the message cryptswap not ready, and so i tried following this tutorial http://punygeek.blogspot.de/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html Everything ...
0
votes
0answers
25 views

Swap partition enable but startup warning remains - Ubuntu 14.04

I have successfully set and enabled my swap partition using the link below But there remains a warning at start up. https://help.ubuntu.com/community/SwapFaq#How_do_I_add_more_swap.3F I have two ...
1
vote
2answers
200 views

14.10 - Swap not available

My swap doesn't seem to be working. I tried to fix it but nothing I tried worked. Here is some relevant information to troubleshoot the problem: During install I chose to encrypt my home folder. Seems ...
0
votes
2answers
66 views

I need help in creating swap after installation 14.04 LTS

I installed Ubuntu and forgot to create swap during installation... So I did cut off 4GiB out of my system partition and I'm confused what to do next? I can reboot Ubuntu everything is fine but when I ...
0
votes
1answer
17 views

swapoff is not permanent

I'm in the middle of expanding the size of my Ubuntu VM and I'm reading these instrctions from VMware. One of the steps is to run swapoff and reboot to check the new partition table. sudo fdisk -l ...
0
votes
0answers
51 views

Ubuntu 14.04 freezing completely on new netbook

I have some strange problem not letting me ask this question on my laptop, so apologies if I am asking something that has already been asked by someone. I bought laptop with enough capabilities to ...
0
votes
0answers
25 views

How to change sda2 to sda5

I am with Ubuntu14.04 LTS. After deleting sda2 extended & sda5 Linux swap (as a part of increasing swap area), sda5 swap area changed to sda2. madhu@madhu-desktop:~$ swapon -s Filename Type ...
1
vote
2answers
70 views

Ubuntu 14.04 - Won't turn swap on at boot

I'm using ubuntu as a hypervisor with my production OSes running in VMware. Since I installed everything onto an SSD, I placed the swap file off on a data HDD during install. Once I got everything ...
2
votes
3answers
114 views

How to verify Swap area functioning?

After increasing the Swap area and RAM size, the /dev/sda2 has become the Swap area and there is change in the UUID of swap. When the Ubuntu icon appears first after booting, a long line shows some ...
0
votes
2answers
166 views

On Boot: “The disk drive for UUID=… is not ready yet or not present”

I long ago deleted and disabled my swap partition but I still get the error The disk drive for UUID=d4b17eae-c547-4d02-8d1d-0279069d35f0 is not ready yet or not present when booting and it is ...
0
votes
0answers
27 views

Swap vanished after reboot

I have installed Kubuntu 14.04 with an encrypted home directory. Although I had swap set up during the install, the swap space was not there after installing. This has happened to many people, there ...
0
votes
1answer
62 views

Ubuntu installation after windows - /root, /home, /swap

I'm still trying to use Ubuntu, so after 3 weeks and few formats I have a new windows and I'm trying to install ubuntu. I'd like to share one partition with windows so I found this article and I'm up ...
2
votes
2answers
174 views

Swap Space Allocation Problem

I have a single 160 GB physical hard drive. I have Windows 8.1 installed on 100 GB (Local Disk C:). I left the remaining 60 GB as unallocated space for Ubuntu installation. Now, the problem is that ...
0
votes
0answers
18 views

Swap area verification table [duplicate]

I have only one OS in my PC -- UBUNTU. I wish to double the RAM. So, if I got a table to verify the size of the swap area space, it would be very useful (without going deep into the details); ...
1
vote
1answer
111 views

MOTD - show memory usage, 50-landscape-sysinfo without swap info

I would like to display the MOTD without swap info, because my machine does not have swap. I have found the link ls /etc/update-motd.d/50-landscape-sysinfo which points to the file ...
3
votes
0answers
62 views

chromium build fails due to `out of memory` allocation

i am trying to build chromium content_shell. But it fails at the last linking stage because of out of memory. Error Log: [1/1] LINK content_shell ... /usr/bin/ld: out of memory allocating ...
0
votes
0answers
45 views

install with full disk encryption and a larger swap size

I have a laptop with 8GB RAM. When I install xubuntu and choose full disk encryption during the installer, it automatically creates an 8GB swap. I want to hibernate the computer, and if the RAM is ...
0
votes
3answers
64 views

14.04 crashes after couple hours. Lose control of OS and CPU goes into overdrive

I just installed Ubuntu 14.04 on a Dell Vostro 220s with Intel Pentium. I am trying to figure out if this problem is normal.. should I wait out the hang. After a couple hours, I will lose control of ...
2
votes
2answers
318 views

Lost Swap Partition

I set up a new Ubuntu Partition a few days ago. Yesterday I installed the Kubuntu-Desktop to replace the Unity thing. Since I installed the new desktop the Linux-Swap partition won't work anymore and ...
0
votes
2answers
65 views

Create randomly encrypted swap when installing 14.04.1?

How do I create a randomly encrypted swap partition when doing a clean install of 14.04.1? This option was available in the text-based partman in 12.04, but I can't find it in the graphical partition ...
2
votes
1answer
54 views

Ubuntu doesn't save state after hibernation

As of yesterday, I had been using Ubuntu 14.04 with a 3GB swap-space. However, I was finding that I was unable to hibernate if I had more than 3GB of RAM in-use. So, I booted on a LiveUSB of Gparted, ...
1
vote
0answers
46 views

TuxOnIce hibernate error “seeking to free XXXXMB of memory” on Ubuntu 14.04

My desktop PC did not support for hibernate on Ubuntu 14.04. Therefore, I installed TuxOnIce (kernale 3.13.0-36-generic-tuxonice) to enable hibernate feature. Now, the hibernate feature works fine on ...
1
vote
1answer
35 views

No swap installed. Why is swap value still 60?

I purposely installed 14.04.01 LTS with no swap partition because I do not require it for what I do. Just curious why cat /proc/sys/vm/swappiness still produces a value of 60. I'm considering ...
0
votes
1answer
96 views

Ubuntu 14.04 LTS suddenly slowed down

I have been using 14.04 LTS for a couple of months and it run perfectly. It suddenly slowed down like hell. I find a sloution by decreasing swapping from 60 to 10. But if swapping at 60 was really a ...
1
vote
1answer
197 views

Reboot hang on “Adding 4051964K swap on /dev/sda5. Priority:-1 extents:1 across 4051964K FS”

my Ubuntu12.04.5 server edition. DO warmboot that hang on "Adding 4051964K swap on /dev/sda5. Priority:-1 extents:1 across 4051964K FS". What happen of my computer?
0
votes
1answer
54 views

Forget to configure a separate partition for /home

I recently installed Ubuntu, manually partitioning the hard disk. I created a 16GB partition for / (root), and a swap partition, with 226GB free that I intended to use for /home, but I forgot to add ...
0
votes
2answers
486 views

Problem removing swap partition

I have a SanDisk SSD U100 124GB. When I installed Ubuntu 14.04 I partitioned as: - 250mb boot; - 4gb swap; - the rest ext4. Some times later, I removed the swap partition in order to merge it ...
0
votes
0answers
64 views

Does VM require Swap? su: fork: Cannot allocate memory

We have Mysql Server in AWS environment in Ubuntu 14.04. Recently our server lost new connectivity like ssh, or scp any connections due to cannot allocate memory. And my existing connectivity to ...
-1
votes
1answer
54 views

Problem with Swap file Ubuntu 14.04

I have created a new user, write on /etc/sudoers - echo '<USERNAME> ALL=(ALL:ALL) ALL' , then I login my new user, and try to swap files with the following command: sudo dd if=/dev/zero ...
0
votes
0answers
25 views

Hibrnate resume results in black screen (but hibernate via VT1 seems to work)

I have a fresh 14.04 installation (uname-r returned: 3.13.0-32-generic) and I want to enable hibernation. (I should mention here that when I had 12.10 I could use hibernation successfuly) Creating a ...
0
votes
1answer
75 views

Why the swap partition? [duplicate]

I always encrypt my Ubuntu installations. Currently I have /boot installed on a flash drive and two encrypted partitions: / and swap. In order to log in I have to enter pass phrases for both / and ...
2
votes
0answers
33 views

Is it possible to suspend applications?

The main idea is to add a "suspend" button to the title(behind the "quit" cross button) of the application window that will copy the memory taken by application to swap/local storage with pid ...
0
votes
1answer
56 views

Installing 14.04.1-first time user. What is Install Type window for-to format and select partition, or to create swap area?

While installing at install type window I entered ext4 and / or root as mount point. I also checked format drive. After clicking install now I get a message that I have no swap partition. Should I ...
1
vote
0answers
86 views

Solved: enabling swapping cripples system

I am having a strange issue. Essentially, when swapping is enabled (on a swap partition), the system becomes unusably slow even at times when no swapping is in fact occurring. For example, when ...
2
votes
1answer
218 views

Swap not mounting on a fresh installation

~$ blkid /dev/sda5: UUID="2a5b14e5-ac61-42c5-8240-c8aa144b07b3" TYPE="ext4" /dev/sda6: UUID="685a9f14-4680-4620-a498-126f1113a471" TYPE="swap" ~$ sudoedit /etc/fstab # <file system> <mount ...
0
votes
0answers
22 views

Difference between System monitor and free -h [duplicate]

I have a Lenovo T430 laptop with 3.7GB of RAM. Since I started using this machine I observe the following strange behavior. If I do a lot of things, say have rails server running, a few nodejs ...
0
votes
0answers
33 views

Is there a possibility to change the swap encryption method at runtime?

I'd like to have both hibernation capabilities and encrypted swap partition(s) on my Ubuntu 14.04.1 system. After a short experience of a LUKS encrypted swap partition I decided that entering the LUKS ...
0
votes
1answer
306 views

looking for swap partition

How do I know I have a swap partition or not? I have a dual boot Ubuntu and Windows 8. During Ubuntu installation steps I choice "Install Ubuntu alongside windows 8" option. Does swap partition is ...