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

2
votes
2answers
62 views
+50

swapon has no effect, /proc/swaps remains empty

My Ubuntu server has no more than 512 MB of memory. It is not enough for running Node.js + MongoDB. Hence I decided to add a swap file: # dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1024+0 ...
0
votes
1answer
17 views

Why server uses swap [on hold]

My server has 64GB total RAM and currently the server has 13GB free. But, it takes the swap. What will be the reason? The server using numactl.
1
vote
1answer
7 views

Can't unmount ext 4 in gparted

I wanted to add extra swap to my pc I followed lots of tutorials but i needed to make a unallocated partition and for that I needed to unmount ext4 I'm totally new in Ubuntu or linux Anybody a ...
0
votes
1answer
13 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
2answers
23 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
0answers
9 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 [closed]

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
76 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
14 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
38 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
2answers
59 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
0answers
20 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
49 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 ...
2
votes
1answer
44 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 ...
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
44 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
20 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 ...
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 ...
0
votes
1answer
63 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 ...
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
0answers
23 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
22 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
2answers
278 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
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
57 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 ...
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 ...
1
vote
0answers
242 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
2answers
72 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
72 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
48 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 ...
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 ...
3
votes
0answers
108 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 ...
0
votes
1answer
90 views

Ubuntu 14.04 too slow and laggy!

I have Lenovo Ideapad y510p and have dual boot Ubuntu 14.04 with Windows 8.1 and I uses Ubuntu for all my work specially for developing Android apps, I have 8GB of RAM and 9GB for swap, but it's so ...
6
votes
2answers
623 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 ...
-1
votes
2answers
205 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
1answer
17 views

Swap Partition: What to do with two different swaps, one of them encrypted?

I installed Ubuntu for the first time a few months back, and I have recently begun to really try and learn how my system works. So today I have been reading about Swap Partitions and so I have been ...
2
votes
2answers
66 views

Ubuntu Swap Partition on HDD

I'm installing Ubuntu on my SSD and don't want to waste space on a swap partition because I have 16GB of ram, nor do I use hibernation. But as a precaution, would there be any drawbacks if I created a ...
3
votes
2answers
74 views

Realistic working swap for 128GB RAM?

I've just installed Ubuntu 15.04 on a new 240GB SSD, and immediately noticed that /dev/ubuntu-vg/swap_1 on the resulting installation is 137GB. That seems excessive, even counter-productive, but ...
0
votes
1answer
28 views

How do I find out why I get anytime the same error message from an original Ubuntu script?

Swap2Ram.sh always produces its error message, even when I have enough ram left. Any ideas? #!/bin/sh mem=$(free | awk '/Mem:/ {print $4}') swap=$(free | awk '/Swap:/ {print $3}') if [ $mem -lt ...
0
votes
1answer
149 views

ZRAM vs. regular swap partition

I don't fully understand the functionality and the potential advantages of zram. For example: once zram is activated, what percentage of memory will be dedicated to paging? Another issue: obviously ...
0
votes
0answers
32 views

swap option missing while installing in ubuntu server 14.04 lts

There is no option to select swap partition while installing the server version....I have tried all the possible ways to check the option and not found anything. Is their anyway to enter manually
3
votes
2answers
86 views

Deleted Swap, now boot takes forever

Running Ubuntu 15.04. I was receiving messages about my root / partition running out of space, and so I looked up how to allocate more space to it. I followed the answer to this question: How to ...
0
votes
1answer
49 views

Neuroimaging Use: How big for partitions (root, home, swap) and some other Qs

I will be using my Ubuntu for neuroimaging use. This is my first time using -- I've been using Macs for the last few years so am not familiar with using Ubuntu on a regular PC. A few questions: Are ...
0
votes
1answer
50 views

Encrypted swap partition not available

How should I correctly set up my encrypted swap partition? How can I ensure that the setup persists? I'm running 14.04 using encrypted home folder. I noticed that occasionally my machine would ...
1
vote
1answer
928 views

Install Ubuntu 15.04 with full disk encryption, but without swap partition

I have a laptop with 16GB of RAM, but SSD is only 64GB. I need to install Ubuntu 15.04 with both standard options - "Encrypt the new Ubuntu installation for security" and "Use LVM with the new Ubuntu ...
0
votes
0answers
35 views

How to monitor the effect of increasing or decreasing swappiness?

I'm on a system with 1.5GB RAM (don't laugh!), half of which is generally being used by Firefox. Currently, 3% of the 3GB Swap are being used (some 80MB). I tried to change the swappiness like so: ...
0
votes
3answers
51 views

Can Red Hat and Ubuntu Share swap

I already have Red Hat installed. When I install Ubuntu, the swap area for the already-installed Red Hat was identified by the Ubuntu installer, and the default option is to "Use as: swap area". The ...