About 1,480,000 results
Open links in new tab
  1. kernel - Best way to disable swap in Linux - Server Fault

    I am running a custom compiled 3.18.9 kernel and I am wondering about the best way to disable swap on the system. I also use init if it makes a difference. Is it enough to comment or remove the swap

  2. Why should swap size be same or larger than RAM?

    Many say that, if you have a 2GB RAM, you should configure a 2GB or more swap. FWIK the hibernation may need the same size swap to persist memory when power off, but generally, if you …

  3. What is swap memory? - Server Fault

    A Swap Memory is a space in the Hard Disk of your computer that Operating Systems will use to put the info that is actually on the RAM to free it for another application.

  4. Best way to create an encrypted swap file in Linux without entering a ...

    Nov 13, 2024 · How to simply but properly configure a swap partition from the base on a Linux system without hibernation with encryption and without asking for a password during system start.

  5. kswapd often uses 100% CPU when swap is in use - Server Fault

    Jun 3, 2015 · Most of the time when my computer starts to need swap, I see a massive spike in CPU usage (kswapd0 is consistently using 99%-100% CPU). According to top, the time is spent in sy …

  6. How to get the Linux OOM killer to not kill my process?

    Mar 7, 2016 · How do I get the Linux OOM killer to not kill my processes when physical memory is low but there is plenty of swap space? I have disabled OOM killing and overcommit with sysctl …

  7. linux - How big should the swap partition be? - Server Fault

    Swap is there for emergencies, run-away processes and so on. The exception is for laptops and workstations that might sleep. Many OS will use the swap area to save the suspend image and in …

  8. linux - How to increase swap size? - Server Fault

    The easiest option to work around this is to either create a new swap partition on a different disk you don't currently use (or can afford to offline for re-partitioning) or simply use a swap file within an …

  9. Why disable swap on kubernetes - Server Fault

    Nov 2, 2017 · Since Kubernetes 1.8, it seems I need to disable swap on my nodes (or set --fail-swap-on to false). I cannot find the technical reason why Kubernetes insists on the swap being disabled. Is …

  10. memory - Swap used but there is free RAM - Server Fault

    Feb 14, 2022 · No, paging out is not wrong. Linux will use swap space given to it. swappiness of 0 and swapping indicates "the amount of free and file-backed pages is less than the high water mark in a …