1
vote
1answer
25 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?
6
votes
1answer
375 views

what does “Read Swap Header failed: Success” mean?

I'm trying to install Arch Linux (from the 2014-04-01 snapshot). I've made a swap file and tried to swapon it, but I got an error(?) message I don't understand. I've executed fallocate -l 512M ...
6
votes
2answers
185 views

How can my HDD swap without a swap partition?

I have no swap partition on my disk because I prefer having the OOM reaper kill anything it wants quickly rather than having to wait 10 minutes for my swap partition to get filled + 5 other minutes to ...
0
votes
1answer
136 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 ...
6
votes
1answer
1k views

How do I set up an encrypted swap file in Linux?

How do I set up an encrypted swap file (not partition) in Linux? Is it even possible? All the guides I've found talk about encrypted swap partitions, but I don't have a swap partition, and I'd ...