Questions tagged [swapping]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
134 views

AMD Optane alternative

I want to have an Optane features with my Ryzen build: high TBW and high I/O. Disk space irrelevant (like MEMPEK1W064GA, 64GB would be enough for me). And it would be nice if I can utilize the full ...
1 vote
1 answer
829 views

Swap being used when not necessary

I have: vm.swappiness = 1 as suggested here to prevent using Swap when there is plenty of available memory. (0 would completely disable swap, as far as I understand) In frequent cases, I end up with, ...
  • 501
1 vote
1 answer
4k views

Remove swap completely or set swappiness to 0?

In managing a server with 512GB of RAM I encountered a process that keeps consuming swap until it hits 100% of the swap space then stops consuming more (6GB of swap) but keeps working fine (albeit, ...
  • 279
5 votes
1 answer
3k views

Swapfile mount (/etc/fstab): "swap swap" or "none swap"

There seems to be conflicting information on how to mount a swapfile. swap swap: none swap: both: Both ways work. What is the official recommendation and how does each way affect swapping?
  • 1,787
1 vote
1 answer
245 views

Database files and the system swap space on the same disk?

Why is it problematic to configure the database files and the system swap space on the same disk? What can happen?
1 vote
1 answer
3k views

How do I set the default memory.swappiness for all the systemd cgroups?

In CentOS 7 how do I set the default memory.swappiness for all the systemd cgroups? I can do it per cgroup via the ControlGroupAttribute option, but I would like to override the default of 60 for all ...
1 vote
2 answers
1k views

Linux swapping blocks system (freeze)

I have a problem with my Debian Servers. We run 4 different server which all have Intel CPUs and 128GB of RAM. Two of them run Wheezy, two of them run Jessie. We run a Java software on those systems ...
1 vote
1 answer
1k views

How can I maximize the memory usage of a single Windows process?

I have a system with a large amount of memory. Right now, to prevent a single application from paging, I've disable the paging file completely. The issue that I'm running into is that I cannot ...
  • 575
4 votes
1 answer
5k views

ATOP: vmcom / vmlim -> SWP is red

in ATOP I'm getting a red alert like this: vmcom 76.3G | vmlim 49.8G This is a value that is attached to the "SWP" (so "SWAP" is meant?)-line. What does this mean and what can I do against it?
  • 913
0 votes
0 answers
1k views

vSphere | VMs are balooning and swapping | sched.mem.max paratmetar does not exist

I have two VMs in ESXi5.5 environment that are swapping memory. After a long research I found out the below two articles where it is explained that one must compare the values of memsize and sched.mem....
  • 1,144
-2 votes
3 answers
681 views

Linux makes cache for swap. what for?

It looks like joke: swapfile on "ramdysk" in 64bits system? I look into file: /proc/meminfo and made some investigation. Look for line: SwapCached: nnnnn kB . One is what I don't understand. ...
  • 338
1 vote
2 answers
9k views

Swapping IP addresses between two domain controllers

On our VMWare ESXi environment is a single domain controller (Windows Server 2008R2) installed. Now I have to upgrade it to a new server (Windows Server 2012R2) which should has the same IP. Many ...
  • 189
0 votes
2 answers
163 views

Our Red Hat Enterprise 5 Server is swapping itself to death - need a plan for detecting the cause

At seemingly random intervals, the memory usage on our server is increasing over the maximum available and swapping until the CPU usage is also 100%. It then starts killing off processes when it runs ...
  • 103
0 votes
1 answer
139 views

Ubuntu - how to determine cause for server swaps?

One of my servers is crashing once in a few days. It does web serving + some background jobs like XML file processing. If you look at the screenshot http://awesomescreenshot.com/075xmd24 you'll see ...
  • 1,381
-1 votes
1 answer
282 views

Windows, File share - abysmally slow and swapping?

Given: A server with 2008 R2 Standard. 16 GB RAM in use for Hyper-V and OS, very low activity. A separate RAID 5 for files, on it 500gb files (1.5 gb/file about) A process on another machine reading ...
  • 51k
1 vote
7 answers
8k views

My server is swapping, how can I fix it?

I am using slicehost.com 256MB hosting for my site. Unfortunately it is swapping almost all the time. When I type in console free i get something like: total used free ...
  • 225
1 vote
3 answers
2k views

Amazon EC2 swap file

I have created 14GB swap file in Amazon EC2 server but the swap file which I created is not being used by the server. The status is showing like this: $ free -m total used ...
5 votes
4 answers
11k views

mdadm: Swapping out small hard drives for bigger ones in a RAID5, How to partition?

So I got the gist of swapping out smaller hard drivers for bigger ones in an MDADM RAID5: Fail and remove one drive. mdadm -f /dev/md0 /dev/sdd1 mdadm -r /dev/md0 /dev/sdd1 Shutdown, swap the hard ...
  • 153
1 vote
1 answer
181 views

Is the memory which is transferred to swap due to swappiness still cached in the physical memory?

Is the memory which is transferred to swap due to swappiness still cached in the physical memory (until it is invalidated there)?
  • 1,365
8 votes
4 answers
6k views

When is swap moved back to physical memory?

When is swap moved back to physical memory in Linux? Is it only on demand, ie. when it's needed? Or is swap slowly transfered to physical memory when the computer is not on high load?
  • 1,365
2 votes
5 answers
454 views

A button to set all processes to on-hold for Linux?

When Linux starts swapping you're basically doomed. Very soon the system won't react to any input any more, but happily swap on until the end of days... Can you think of a command that holds all ...
17 votes
1 answer
7k views

deleting linux cached ram [duplicate]

I have a webserver that has 8GB of ram and is running a pretty intensive php site (1 site) that does file manipulation, graphing, emailing, forums, you name it. The environment is far from static ...
  • 2,935