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

0
votes
2answers
20 views

How to add swap area? [duplicate]

This is the status of my system: $ grep 'Swap' /proc/meminfo SwapCached: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Please let me know how can I increase the swap area without re-installing.
0
votes
1answer
10 views

why the swap partition is not working

i have setup fully encrypted lvm on my laptop,it have created a swap partition also.But why system does not recognize the swap partition? here is the screenshot link
0
votes
0answers
5 views

Unlocking at boot time Luks LVM

This is my first question, but let me start by saying how much of a big fan I am up this site. Every question I ever had over the last 4 years has been answered here and I am so grateful for the help ...
0
votes
0answers
9 views

had to force shut the system as ubuntu hangs sometimes when 3-4 apps are running [on hold]

Is it because i have 2gb ram and i didn't assign any swap partition.My root directory is of 40gb is it necessary to assign swap partition.I have dua core processor.
4
votes
4answers
63 views

Why no swap partitions on SSD drives?

I often read that one should not place swap partitions on a SSD drive, as this may harm the device. Is this true? Can you please explain the reason to me? Because I otherwise would have thought that ...
0
votes
0answers
10 views

Ubuntu 14.04 Increase swap file size

So I am new to Ubuntu and Linux but I am learning. How do I increase the size of the swap file? I have been researching posts and have not found a solid solution. Based off previous post here is the ...
2
votes
1answer
35 views

With 128GB of physical RAM in my repurposed server, do I need swap space at all?

I have seen people asking question about the necessity of swap space with various amounts of RAM installed, but my question is one to two orders of magnitude larger in the respect of installed RAM. ...
0
votes
4answers
2k views

Create Swap for Ubuntu 14.04 LTS [closed]

I'm using 2 GB RAM I've installed Ubuntu 14.04 LTS how much swap do I need to create?
0
votes
2answers
55 views

SSD - safe to use hibernate?

In a couple of days, I'm going to buy a new notebook (Asus N551, should it matter), tending to replace the HDD with a Samsung EVO 500GB SSD. Now, I've often read that one should make sure that Ubuntu ...
0
votes
1answer
3k views

“Failed to create swap space” error during installation

I've been trying to install Ubuntu for the past two days or so, but I've been running into a problem: every time I run the installation program on the LiveCD, I always get the same (or a very similar) ...
-2
votes
2answers
117 views

How much swap should I take for ???GB RAM on 14.04? [duplicate]

I will install 64 bit 14.04 on a Thinkpad T400 with 8GB RAM. How much shall I allocate for the swap partition? And especially: WHY those recommendations for swap? (None of the existing answers ...
10
votes
1answer
19k views

Adding a new swap file. How to edit fstab to enable swap after reboot?

I've deleted my existing swap partition due to some partitioning problem. I don't have a swap space now so I've created a swap file with: dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 Here's ...
6
votes
1answer
4k views

How do I get Ubuntu 12.04 to recognize encrypted swap partition so that I can hibernate?

I just installed Ubuntu 12.04 and used gparted to erase and enlarge my swap partition. When I rebooted, gparted said that the file partition for the swap was unknown. Gparted doesn't let me change ...
2
votes
1answer
225 views

Can Ubuntu 14.04 use encrypted swap without resorting to unofficial hacks?

On a fresh install of Ubuntu 14.04, I get this error message during boot the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present and the swap partition is never activated. From ...
2
votes
1answer
48 views

How can I convert a linux swap partition to ntfs? [closed]

Recently I decided to remove Ubuntu from my dual boot configuration of Windows and Ubuntu. I formatted the drive which contained Ubuntu, but I couldn't format my swap partition from Windows because it ...
0
votes
0answers
18 views

Swap and Ram both maxed out and nearly froze my computer; what log files should I open, and who should I share them with?

Woah, linux just got gridlocked. Everything started screeching to a halt, not even mouse movement. Just opening tabs on chrome. Jumped to a terminal with ctrl+alt+f5 or something, took me minutes to ...
2
votes
1answer
41 views

Should my swap size be zero or am I misunderstanding the output?

We are running an Amazon EC2 R3 instance so has 30G of memory available. We are running 5 Apache Tomcats (version 7). According to lsb_release -a the version of Ubuntu is: Ubuntu 14.04.2 LTS Tomcats ...
2
votes
2answers
972 views

Is putting swap on a USB2 flashdrive practical?

After searching here, I found no direct answer to: Is it practical to put swap on a USB Flash drive? I do not yet know if the teeny-tiny flash drive (Fit CZ33 ) I wish to use runs at high-speed (480 ...
0
votes
0answers
27 views

Adding swap due boot take too long time

everyone. I noticed that adding swap takes too long: Jul 5 22:41:10 dizpers-pc kernel: [ 19.762255] Adding 7999484k swap on /dev/sda5. Priority:-1 extents:1 across:7999484k FS Jul 5 22:41:15 ...
2
votes
2answers
41 views

Hibernation kills all programs

Following this answer I was able to restore hibernation on my Ubuntu Vivid Vervet 15.04. Unfortunately after hiberate/restore all running programs are gone, as if it was a regular power-off. Any ...
1
vote
0answers
36 views

Extremely slow OS. Swap related?

I really hope you can help me. An inexperienced sysadmin, installed Ubuntu on a new Dell Desktop, it's a pretty powerful machine, and I ran a bunch of hardware tests, and can confirm that RAM/HDD and ...
1
vote
0answers
19 views

Booting failed after enabling swap and installing uswsusp

After reinstalling Ubuntu 15.04, my swap partition was not active which is why Ubuntu did not hibernate. I followed steps given in this answer . I edited /etc/fstab/ by typing sudo nano /etc/fstab in ...
75
votes
7answers
85k views

How to empty swap if there is free RAM?

When I open a RAM-intensive app (VirtualBox set at 2GB of RAM), some swap space is generally used, depending on what else I have open at the time. However, when I quit that last application, the 2GB ...
113
votes
1answer
219k views

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
0
votes
2answers
26 views

Did I Dual Boot incorrectly?

I dual booted Ubuntu with Windows 7. I dual booted by shrinking my drive to 45 GB. This was for ubuntu. After I dual booted, I noticed that there was a small primary partition. I found out that this ...
39
votes
3answers
53k views

How to increase swap space?

I have, by default, 250MB of swap space in Ubuntu, and I want to expand it to a larger size. I need 800MB, which I think will be enough to open several applications without having to hit the current ...
3
votes
2answers
2k views

Can't boot after upgrading to 15.04

I'm an amature linux user, so excuse my ignorance. After upgrading to 15.04, the screen hangs on the Ubuntu loading image and then finally goes to a black screen with the following: [ 1.595012] ACPI ...
0
votes
1answer
58 views

i2c-hid i2c-SYN1B7B:01:01 failed to retrieve report from device - problem during boot, device stops booting

My laptop is configured to dual boot Windows 8 and Ubuntu 14.04. Windows 8 works fine, but when I try to boot into Ubuntu, sometimes, boot gets stuck at: i2c-hid i2c-SYN1B7B:01:01 failed to retrieve ...
3
votes
1answer
1k 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 ...
0
votes
1answer
42 views

Swapping for best performance

I have Ubuntu on my laptop for like 10 days. I'm new to Linux. So I'm interested about getting better performance of my laptop. Laptop: DELL: Intel CPU i7-4510U 2.00x4 , Graphics: Intel Haswell ...
0
votes
2answers
224 views

Ubuntu 15.04 installation stuck in a loop because of missing swap partition?

I say "because of missing" swap partition, but I am not sure about that. That's my hypothesis at the moment. Read on to understand the full context. I am attempting to install Ubuntu but it appears ...
0
votes
0answers
22 views

Why am I being repeatedly asked for swap partition password when apt-get upgrade?

I installed recent kubuntu on a laptop, and choose to encrypt / and swap. Works fine. But very often, when I do apt-get upgrade, I get questions about password for swap partition. I could understand ...
0
votes
2answers
21 views

Why does the installer make an extended partition for swap by default?

Every time I've done a clean default install of Ubuntu or a variant on an MBR type system, I end up with a system partition and a swap partition. The installer always tucks the swap partition inside ...
0
votes
0answers
40 views

Swap is super slow on Xubuntu

Swap is somehow super slow on xubuntu. I have 8GB ram running vivid 15.04 Xubuntu. When ram usage reaches around 7+gb ... the hdd light goes crazy (actually, it just stays on) and stuffs get dumped ...
0
votes
1answer
55 views

Maximum RAM for my Ubuntu and laptop? [duplicate]

My laptop is Thinkpad T400, and running 64 bit Ubuntu 14.04. I wonder if there is no limit of the RAM size that I can use in my laptop? Now I am running Windows 8.1 in VirtualBox, which takes 2GB ...
-1
votes
2answers
192 views

Encrypted SWAP partition creation after ubuntu 15.04 installation, 15.04 installer bugs!

Today I decided to install clean copy of 15.04. Using the installer partitioning tool, I created an encrypted luks system volume, then created an unencrypted SWAP, clicked continue, then got an error ...
0
votes
0answers
15 views

How to swap Caps with Left Control and change layouts using Caps Lock+Swith (grp:shift_caps_switch)

I already tried a lot of methods for changing this and none of those worked. I used xmodmap and setxkbkey but it both ways there's always problem with setting it. However, using those methods don't ...
0
votes
2answers
70 views

creating swap partition, convert primary partitions to logical

I tried to install Ubuntu 14.04 into my laptop which already has got windows 8 installed in it. I had a 30GB free space and I allocated 29 out of that 30 as primary partition for Ubuntu. I wanted to ...
0
votes
0answers
228 views

15.04 Swap won't “stay decrypted” (both Disk and Home Directory encrypted)

I just installed Ubuntu 15.04. During installation, I enabled both full disk encryption and home directory encryption. I then proceeded to install several applications. While installing these with ...
0
votes
1answer
523 views

I deleted swap partition, what more I should do?

Well I deleted my swap partition using gparted just because I needed one more primary partition and the swap was the 4th, that is the maximum number of primary partitions. I think I don't need it ...
13
votes
4answers
10k views

How big should I make my swap partition?

I'm (re)installing Ubuntu on my Toshiba NB100 netbook (Intel Atom, 120GB HD, 2GB RAM). Already have a partition I call "Stuff" with all my media and docs. Will be deleting the one I had Win7 on ...
0
votes
0answers
68 views

How to find swap usage per process when conventional methods fail? (15.04)

I'm having some difficulty determining what is using my swap space on Ubuntu 15.04. Even though I've set vm.swappiness to 1 and have more than 1/2 of my 16GB of RAM free (or at least unoccupied by a ...
1
vote
0answers
23 views

Why does my Eee PC try to mount the extended /swap partition?

In PCManFM on the left side there is a volume called "1,0 KB Volume". When I click on it, it shows an error message that it can't mount /dev/sda2, but /dev/sda2 is extended partition with the swap ...
0
votes
0answers
43 views

vmware workstation on ubuntu 14.04 do not use ram and swap don disk

i have a strange problem, just get new notebook, moved disk from old notebook. new pc have intel i7 with 8gb ram, ubuntu 14.04 64 bit on board (previous was 3gb ram). i'm using vmware workstation ...
1
vote
1answer
70 views

How to re-setup swap partition in GPT system

I installed Ubuntu 14.04 as dual boot on my windows 8 acer desktop pc. I am sure I set up a swap drive but now if I do swapon -s I don't seem to have a swap partition. Upon sudo fdisk -l I get: ...
0
votes
1answer
16 views

Swap not working even after following previous advice

I have previously posted a question in which solsTiCe showed me how to setup a swap on a GPT partition. It worked for a while but now I am having problems again. The swap was not detected again. I ...
0
votes
0answers
16 views

Swap sharing Windows and Ubuntu

This question has been asked before but not in this manner. I have Windows 8.1 and Ubuntu 15 dual booting on an SSD, A secondary HDD is currently has a partition at the end that is NTFS formatted ...
0
votes
0answers
126 views

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 ...
6
votes
2answers
572 views

Add a swap partition post-install 15.04

I installed 15.04 onto a lvm partition with the mount point / and /boot onto a separate unencrypted partition. Can someone list the steps (clearly please) to set up a swap partition post-install? It ...
3
votes
0answers
104 views

Slow shutdown caused by cryptswap

After upgrading to 15.04 my computer takes a very long time to power off. Hitting escape during shutdown shows messages like so: (1 of 6) A stop job is running for ...