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
1answer
17 views

Server is swapping regardless of available memory

Here is some vmstat output x@x-server:~$ vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us ...
0
votes
0answers
13 views

Swap partition is not mounted by default at boot in ubuntu 16.04 after resizing partitions

I resized my ubuntu partition using gparted from a live cd. I first turned off swap, then deleted it. Then I resized the partition and created a new swap and turned swap on and rebooted. After that, ...
0
votes
0answers
20 views

ubuntu system partition is running out of space and the swap partition is 16GB

This is the output of lsblk on my server: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 64G 0 disk ├─sda1 8:1 0 ...
8
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
3answers
1k views

How much swap should I take for 1-128GB RAM on 14.04 or higher?

I'm going to install 64 bit 14.04 on a Thinkpad T400 with something like 1 to maybe 128GB RAM. How much space should I allocate to the swap partition? And especially: WHY those recommendations for ...
1
vote
1answer
45 views

I resized partition and deleted swap area , how do I update the /etc/fstab file to reenable swap?

This is my current fstab file content: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more ...
0
votes
1answer
7k 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) ...
0
votes
1answer
24 views

Stop Ubuntu from using original swap partition

When I installed Ubuntu 16.04 I put it on a 250 GB SSD and created a 4 GB swap partition. Recently I have been doing some machine learning and I keep using up all of my 16 GB of memory. I decided to ...
32
votes
7answers
54k views

How do I disable swap?

I have some sensitive data in ram that i prefer not to be on disk. How do i disable swap? I have more then enough ram. If ram gets too high i have no problems with processes being terminated. How do I ...
0
votes
1answer
28 views

Not properly using Physical memory

How do I get ubuntu to make use of the swap file. It doesn't even use the full physical memory, it only uses 1.3 Gb of 8 Gb, and it doesn't make use of the swap file at all, even when it has detected ...
0
votes
0answers
12 views

Is it beneficial in any way to have two swap partitions on the same extended partition with the same priority?

I read somewhere that I can speed up the swap process if I make more than one swap partition with the same priority on different drives. I was wondering if splitting the swap partition I have on my ...
0
votes
2answers
38 views

Secondary hdd with swap partition: spindown?

I'm running Ubuntu 16.04 on a laptop. I have a small, 120GB SSD drive, and a secondary 1TB HDD. Today I made Linux use a swap partition that is located on that second drive. After testing things out ...
1
vote
1answer
27 views

How to get swappiness to stay low

Alright, so I've been having trouble with the default value of swappniess (60) making life a living hell (which is probably another problem that needs to be sorted out, but currently cannot be until ...
0
votes
0answers
52 views

zswap: default zpool zbud not available, pool creation failed

My system seems to be working fine, but in the interest of learning, I'm investigating the red bits of my dmesg. Here's one: zswap: default zpool zbud not available zswap: pool creation failed what ...
0
votes
1answer
29 views

Question about installing ubuntu [duplicate]

I have 3 questions about installing ubuntu Please help Me. How much space I have to give to swap partition? My ram is 8GB. We check two options when installing Ubuntu (one is mp3 fluendo plugin and ...
2
votes
4answers
6k views

Why encrypt the swap partition

I have seen on this site that many Linux users encrypt the swap partition. What are the benefits of encrypting swap?
30
votes
6answers
36k views

Why most people recommend to reduce swappiness to 10-20?

I have seen in several site which recommend to reduce swappiness to 10-20 for better performance. http://community.linuxmint.com/tutorial/view/998 ...
59
votes
5answers
77k 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 ...
2
votes
1answer
264 views

How to get rid of encrypted swap?

I recently installed Ubuntu 12.04, including a encrypted root and swap partition. I'd like to get rid of the encrypted swap partition (not just of the encryption for it, but of the whole swap ...
1
vote
1answer
41 views

How to enable unused swap disk?

After some months of use I've found out that my system has no swap memory available. I urgently need it in order to build some huge software projects. cat /proc/meminfo prints the following: ...
2
votes
0answers
87 views

Why is the default Ubuntu swappiness 60?

What is the reasoning for Ubuntu's default swappiness being 60?
0
votes
0answers
13 views

Cannot install Ubuntu 15.10 (Swap partition creation failed) [duplicate]

I got a 2nd laptop with no operating system on it and I would like to install Ubuntu 15.10 on it. I made an bootable USB stick with a genuine version of Ubuntu 15.10 (from Ubuntu.com), and right now ...
0
votes
1answer
22 views

Extend home without unallocated space. With swap or ntfs [duplicate]

I've just installed (some months ago) Ubuntu 14.04 on my Asus laptop. I followed a specific guide on partitions and thought everything was ok. But, beeing pretty new at this I probably made some ...
0
votes
0answers
10 views

Swap on video ram

I'd like to create Swap on video ram. I don't use my additional graphic card. Is a way to do this in Ubuntu ? https://wiki.archlinux.org/index.php/swap_on_video_ram
0
votes
1answer
16 views

man page of swapon doesn't match with what I am seeing

I am playing around with swap and added my own swap partition. but when I do I noticed something odd. test@ubuntu:~/5Gdisk$ cat /proc/swaps Filename Type Size Used Priority ...
0
votes
0answers
45 views

Ubuntu 14.04 stuck in black screen for a minute before booting. According to dmesg, mounting swap partition is delaying the boot process

Ubuntu is taking at least a minute to boot. I checked the dmesg output and it seems that mounting swap takes a long time. I can't seem to figure out why this is happening? Dmesg output is as ...
2
votes
2answers
38 views

Finding my swap partition

It looks like I have 40 GB of swap: wuser@wavesftwDell:~$ cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 ...
0
votes
1answer
14 views

Move swap and extend home partition [duplicate]

I have dual boot Ubuntu 14.04 and Win8.1. For some reason (my mistake) I have my home partition (80GB) than swap (4GB) and then 200GB of unallocated space (in that order). I want to use this free ...
1
vote
3answers
45 views

Do I need to clear out swap to make my computer fast again?

I ran a process which used up mostly all my RAM and Swap... I was forced to kill the process, but now I see something strange, my Swap usage has decreased a little bit, but it is still half used while ...
0
votes
0answers
18 views

Why goes nothing change when i add Swap on terminal

I am running Ubuntu 15.10 and I want to grow my swap partition from 4G to 8G. I followed this guide and after running the following command it appears that I have 8G: ...
0
votes
1answer
26 views

Allocating disk space as memory temporarily

I need to run some application to convert large files (7GB). The converter application isn't nicely written. So it doesn't stream the coverted data. Therefore, it requires high amount of memory. I ...
0
votes
0answers
10 views

>4GB Free and Merely Closing Tabs Causes Chrome to Thrash Disk

The red light stays on, I can't click on even the launcher bar, occasionally the windows "grey out" and all because I'm merely trying to close Chrome tabs? With most of my 8GB RAM free according to ...
0
votes
1answer
29 views

Build fails after not enough RAM even after swap

I have a 4GB RAM and I have to work in android environment. Some components in the source needs high RAM as a result, I made a swap file of 8GB and I have a 4GB RAM. My RAM is 11mb or less while ...
0
votes
0answers
40 views

swap problems on Ubuntu GNOME 15.10

Why does this happen on the output of systemctl status dev-sda4.swap -l: dev-sda4.swap - Swap Partition Loaded: loaded (/run/systemd/generator.late/dev-sda4.swap) Active: failed (Result: ...
0
votes
0answers
34 views

Swap Partition Causing Lock ups/Freezes

I recently added a swap partition and it functions properly. However, I have noticed that whenever I run programs that use a lot of memory (use most of my ram and 1 gb of my swap), my GUI locks up, my ...
0
votes
0answers
40 views

Does Ubuntu limit svn process memory if ulimit returns unlimited?

I am trying to commit a file using svn it crashes with an Out of memory error. I am running Ubuntu 14.04.1 and have 6G memory, 6G swap partition and 12G swap file. I am able to use svn to commit ...
0
votes
0answers
112 views

Why swappiness=10 is not the default in Ubuntu desktop? [duplicate]

According to Ubuntu's swap faq, the default swappiness value is 60. However, "(...) Reducing the default value of swappiness will probably improve overall performance for a typical Ubuntu desktop ...
-3
votes
2answers
37 views

How can I save a swap?

I have Linux at my school and I must go from 1983 to 3007 with swapon. I did that but if I reboot the system it is not saved. how can I save this?
0
votes
0answers
17 views

Installing U14 Server on external drive wants to use internal drive for swap

I'm installing U14 Server onto an external drive that is connected to my MacBook Pro. I already have OSX running side-by-side U14 Desktop (using rEFInd) and therefore have an existing swap partition ...
14
votes
1answer
14k views

How do I setup an encrypted swap file?

When I installed Ubuntu, I setup an encrypted home partition. Now I have come to an issue where I am running out of memory because I haven't setup swap. How can I setup an encrypted swap file? A ...
0
votes
3answers
7k 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 ...
1
vote
0answers
71 views

Adding swap takes 90 seconds?

Adding SWAP takes 90 seconds on my Lubuntu 14.04 machine. I dont know why this happens, it makes my computer boot very slowly. How can I resolve this? My RAM is 2 GB, HD is 250 GB with only one ...
-1
votes
1answer
2k views

What size should swap partition be if I want to hibernate later?

Since I'm installing Ubuntu for the first time ever (please don't shoot) i have no idea how large the swap partition should be. On the one hand, I know that people recommend "double the ram unless it ...
0
votes
0answers
30 views

Is there a Swap Manager built into 15.10?

There is a bug 1464917 that affects many including me. I think it is related to orphaned data in swap. I am looking for information on how the system manages these orphaned files left in swap in ...
14
votes
4answers
14k 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 ...
9
votes
1answer
9k views

Swap not being detected on 14.04 LTS

I upgraded from 12.04 to 14.04. When I opened my resource monitor, I noticed my swap was not detected. I installed Gparted, opened the program and started to look at my file tree. I noticed that my ...
0
votes
1answer
155 views

Adjust new swap memory

Currently, my system have 2 GB swap memory, in the following structure- /dev/sda1 --linux-swap -- /dev/sda2 --ext4 -- System installation Unallocated --unallocated -- Now I want to ...
4
votes
1answer
103 views

Permission denied when changing swappiness

I'm trying to set my swappiness to a more reasonable value than 60, but I get errors: root@server1:~# sysctl vm.swappiness=10 sysctl: permission denied on key 'vm.swappiness' root@server1:~# swapoff ...
3
votes
3answers
3k 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 ...
2
votes
0answers
34 views

Swap being used and performance sluggish even though I have 8 gig of RAM?

I have read Why is swap being used even though I have plenty of free RAM? the thread, which was very helpful, however I have 8 gigs of ram installed, (mentioned in the thread as masses of ram), and am ...