Swap space is an area of the hard disk that serves as an overflow when the computer memory is full. The memory used by inactive applications is partially written out to disk to make room for other applications and for the disk cache for active files.

learn more… | top users | synonyms (1)

1
vote
1answer
53 views

Fastest and Safest way to increase Swap Space on Scientific Linux

Memory Swap Ratio Company System Today, a monitoring system indicated that one of the systems in the company has run out of memory. Executing htop on this system indicated that the Memory was nearly ...
1
vote
1answer
84 views

Swap partition in LVM?

I was wondering if putting the swap partition into a logical volume group has any drawbacks (e.g. performance), or would it be "just the same" as having it as a separate primary/logical partition? I ...
1
vote
1answer
812 views

Log from oom killer

I'm running a virtual machine at a provider where you pay for everything you use (CPU, memory, disk IO, bandwidth, etc). Currently my machine has 512MB ram and 1GB swap area. The kernel version is ...
1
vote
2answers
647 views

Can linux systems on multiple virtual machines share the same swap partition? [duplicate]

I'm trying to save some disk space between multiple systems and re-using the same swap partition (which seems to be fine). I'm now getting into multiple virtual machines and am thinking of a ...
1
vote
1answer
1k views

How to re-enable hibernate in Kubuntu 11.10?

After making some changes to my swap space, namely deleting and recreating swap space, my Kubuntu 11.10 has lost hibernate functionality. Although the button has returned, hibernating only appears to ...
1
vote
1answer
36 views

Why do I need mkswap if swap space has been created via fdisk?

I created a partition called /dev/sda3 as a swap partition, and changed the ID to 82 (Linux Swap) via fdisk. If this partition was recognized as a swap partition (seen in the output of fdisk -l and ...
1
vote
1answer
104 views

How to enable swap accounting for memory cgroup in Archlinux?

On my Archlinux box I want to limit some applications to a smaller amount of memory using cgroups. Since I use swap, I need to account memory+swap. How can I enable swap accounting?
1
vote
2answers
91 views

Allocation of Swap in 64 bit UBUNTU 13.04

I have 256GB ssd drive, 32GB DDR RAM, and 1TB HDD. What is the maximum limit of Swap memory that can be set in SSD?
1
vote
1answer
38 views

Is zswap eligible to reduce swap IO?

Does zswap compress pages, that are written to the swap device? Is it eligible to reduce swap IO?
1
vote
1answer
2k views

Debian hibernate problem PM: Swap header not found

I have Debian 6 2.6.32-5-amd64 on netbook. With pm-utils Sleep works but hibernate fails with error: PM: Swap header not found!. Swap was enabled using ubuntu tutorial after installation - this is ...
1
vote
2answers
3k views

free / top difference. Does free show virtual memory?

free -m shows me the following in my system: total used free shared buffers cached Mem: 3954 3842 111 0 248 2585 -/+ ...
1
vote
1answer
266 views

Swap Utilization Increase with Oracle Coherence

We are using Oracle Coherence on linux servers. However, we noticed that because of Coherence processes running, often our swap utilization % increases too much, sometimes becoming more than 98%, even ...
1
vote
0answers
20 views

Diagnose high swap usage on AIX

Which would be the best approach to diagnose high SWAP usage on an IBM AIX 6.3 machine? I've already tried with lsps -a and lslv. But also I'm looking for a strong scenario, like using topas. Any ...
1
vote
1answer
37 views

full disk encryption (including swap, possibly plausible deniability as well)

I'm looking for a method to encrypt my laptop including the swap partition. I also read trough older similar questions but mostly the answer included just a what not much of a how. (Currently I'm ...
1
vote
0answers
61 views

Swap appears to not be in use

(I am currently using Ubuntu 14.04 LTS, GNOME environment) tl;dr How can I force more memory swapping (swappiness already at 100)? I have recently been experiencing a lot of system freezes/crashes. ...
1
vote
0answers
68 views

Swap on video ram in a VM

I have a very small VM running in a cloud with only 512 MB ram. I read, it is possible to use the video card as swap as descriped here: Graphics cards contain a lot of very fast RAM, typically ...
1
vote
0answers
81 views

Xeon Phi swap from host's tmpfs

I want to use swap on Xeon Phi (mic0) using RAM from the host On the host: # free -m total used free shared buffers cached Mem: 129022 60312 ...
1
vote
1answer
170 views

Increasing swap space without reinstallation

I'm running Fedora 20, and I forgot to change my swap size allocation during installation. I have 16G of RAM, so I'd like to allocate 32G of swap space. The install created a swap for me, of only ...
1
vote
0answers
16 views

How to ask for a password to mount crypted swap at boot time on Linux Mint 16 with initramfs-tools? [duplicate]

I use encrypted home folders on my notebook, which prevents use of hibernation on standard setup, because - and for a good reason - besides encrypting the home folder with ecryptfs, it reformats the ...
1
vote
1answer
91 views

Copy of full swap file is empty

I use a swap file (/mnt/swap). The swap works right. I need to get an access to the data stored in. When it's full of data in some part (which I can see typing "free" in terminal), I copy the file to ...
0
votes
2answers
525 views

swap partition and its laws

I remember for choice of swap partition, we should use (swap > 2xRAM) at least.Of course it deprecated , because max of computer's ram is very high. kernel support it. My question: i remember each ...
0
votes
4answers
754 views

How to disable swap file after install or during Kubuntu install?

My computer has more than 64KB of RAM (8GB), if I run out of memory I want things to crash so I know I'm out of RAM so I'll buy some instead of say wandering why my computer is running slowly when I ...
0
votes
3answers
376 views

How much swap space should I use? [closed]

What rules should I follow to determine how much swap space my linux-based computer should have today?
0
votes
1answer
430 views

LinuxMint, unable to set swap partitions to equal priority

I only recently realised that you can specify multiple swap partition, spreading them across drives. Well that's great for me as my desktop system often uses swap space and I have three different ...
0
votes
1answer
148 views

Arch installation and swap partition

to install Arch on a PC I have to make partition of the HDD boot swap / The swap is used by virtual memory, right? What's up if I make a too small or a too big swap partition? Could I have as ...
0
votes
2answers
70 views

Swap not mounting

I have just installed SolydX (Debian based) onto a laptop with the following specs: -Toshiba Tecra A4 -800MHz Centrino CPU -nVidia 6600 GPU -512MB RAM After installing Conky to monitor my system, I ...
0
votes
3answers
3k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
0
votes
1answer
806 views

What does m represents in VIRT column using TOP command

When we run top command it shows all the processes information. But under VIRT column there is m written against some values what does that m represents, is it MB . If yes then why it is only showing ...
0
votes
1answer
44 views

Sanity check/cleanup for swap — essentially mkfs.swap

Occasionally I'll have a system crash or be forced to do a cold reboot. Upon rebooting I will get a kernel crash. Get out a rescue disk, rebuild swap, then everything boots fine. The thing is that I ...
0
votes
1answer
354 views

swappiness and RAM usage

Been going through this topic - http://askubuntu.com/questions/157793/why-is-swap-being-used-even-though-i-have-plenty-of-free-ram. Turned down swappiness to 10 and then to 0 but my installation is ...
0
votes
1answer
96 views

How to migrate files on Linux from HDD to SSD on a VDS

I upgraded my Dedicated Server and I was having problems finding my SSD. I found out how to MOUNT my SSD. I now have my 100 GB HDD and now 20 GB HDD. [root@server /]# mount /dev/xvdb1 /ssd ...
0
votes
1answer
69 views

Something happened to Swap; it is not used by default

I always have to go to gparted and then turn my swap on. The swap space isn't used by default and if I turn the swap on, the swap is not used! How can I make the swap space be used by default at boot? ...
0
votes
1answer
918 views

Zram does not start at start-up

I am using pinguyos 11.10. Pinguyos is a variant of Ubuntu 11.10. I have installed zram like this: sudo add-apt-repository ppa:shnatsel/zram sudo apt-get update sudo apt-get install zramswap-enabler ...
0
votes
0answers
21 views

Is there anything in RHEL 6.5 that would affect I/O speed for something <24K vs >24K?

Generally, transactions for my app of setting and getting data internally are measured in a couple of millis. However, over 24K in size, that time can jump to just over 100 millis. Is there anything ...
0
votes
1answer
51 views

Extending swap on Centos

I recently created a swap file on my centos 6 based VPS using this guide. Now I wanted to extend this swap and I was reading through this guide. However, I think I've created a swap file than a ...
0
votes
1answer
55 views

Is there a way to prevent SWAP from collecting cached data?

Here is the following info: Do I need more swap? No, disk caching only borrows the ram that applications don't currently want. It will not use swap. If applications want more memory, they ...
0
votes
1answer
516 views

How to recover from a boot hang after deleting old swap?

I did a fresh installation of Fedora 20 in the free space of my hard drive after failing to upgrade from the older version. Everything seems to be working fine until I deleted the partition containing ...
0
votes
1answer
39 views

HDD indicator blinks when I run out of memory, but I have no swap configured [duplicate]

I'm running Arch Linux, with 8 GB memory and no swap defined. Sometimes it ran out of memory, then my system get a little bit stuck, and I can see the HDD indicator blinking. Then I restart X, which ...
0
votes
0answers
103 views

Is swapping the cause of high IO on my box?

I'm running a LAMP stack on an Amazon EC2 micro instance with 616 MB of memory. This seems sufficient to be able to run a few small websites with Apache, MySQL and PHP. I have one Wordpress site ...
0
votes
3answers
88 views

How to get data shown out of workspace or directly from application?

Because of some reason I had to use another web browser than my main which I use daily and I chose a small browser which I installed long time ago. This brower is called Dooble, version 0.07 ...
0
votes
1answer
74 views

Could the Kernel stack of a process be empty, when a process is swapped out to a disk?

I am just curious to know whether the Kernel stack could be empty when a process is swapped out to a disk or not?
0
votes
0answers
184 views

swap space allocation vs swaptotal

I created a Red Hat 9 virtual machine on VMware Workstion 9 by allocated the physical memory of 256MB. See pic. When installing Linux, I created the swap partition with a size of 256MB. See ...
0
votes
1answer
209 views

slow Matlab on Ubuntu LTS and ZERO Swap

I was using Matlab2012 under Win7 and my algorithm was consuming a huge amount of memory though it was fast (80 seconds for one iteration). Now I am using Matlab2013 under Ubuntu 12.04 LTS and though ...
0
votes
0answers
236 views

43 seconds to mount swap on /dev/mapper/cryptswap1

My Linux Mint takes longer than I would expect it to boot. Checking dmesg I see the following consecutive entries: [ 8.335668] Adding 9767484k swap on /dev/mapper/cryptswap1. Priority:-1 ...
0
votes
0answers
429 views

Swap space not used

I recently installed Debian 6.0.6. Here are the machine's states: CPU - AMD XP 3000+ RAM - 1 Gig HDD - IDE 80 Gig I primarily use this machine for developing toy personal projects. When I run ...
0
votes
1answer
58 views

What's the pros and cons of disabling the swap partition if the RAM is large enough? [duplicate]

My computer has 16GB RAM and 1TB SSD. So I think the swap partition is not needful. What's the pros and cons of disabling the swap partition if the RAM is large enough? Is it recommended to disable ...