Tagged articles
9 articles
Page 1 of 1
Practical DevOps Architecture
Practical DevOps Architecture
Mar 20, 2025 · Operations

How to Add a Swap File on Linux and Adjust Swappiness

This guide explains how to create a swap file on a Linux server, enable it, configure it to start at boot, and adjust the swappiness parameter to control virtual memory usage, providing step‑by‑step commands and explanations for each operation.

SwapSystem AdministrationVirtual Memory
0 likes · 5 min read
How to Add a Swap File on Linux and Adjust Swappiness
Liangxu Linux
Liangxu Linux
May 29, 2022 · Operations

Why Linux Triggers OOM Killer and How to Manage Memory Reclamation

This article explains Linux virtual memory, the page‑fault allocation process, the two memory‑reclaim paths (kswapd and direct reclaim), OOM killer scoring, swappiness tuning, NUMA‑aware reclamation, and practical steps to protect critical processes from being killed.

NUMAOOM killerPage Fault
0 likes · 19 min read
Why Linux Triggers OOM Killer and How to Manage Memory Reclamation
IT Services Circle
IT Services Circle
May 24, 2022 · Fundamentals

Understanding Linux Memory Management, Page Reclamation, and OOM Killer

This article explains Linux virtual memory concepts, the process of memory allocation, page fault handling, background and direct memory reclamation methods, LRU-based page types, NUMA considerations, tuning parameters like swappiness and min_free_kbytes, and strategies to prevent OOM killer termination.

Memory ManagementNUMAOOM killer
0 likes · 18 min read
Understanding Linux Memory Management, Page Reclamation, and OOM Killer
Liangxu Linux
Liangxu Linux
Sep 26, 2021 · Operations

Master Linux Swap: When, How Much, and How to Optimize Performance

This guide explains what Linux swap is, its advantages and drawbacks, how to size it for different memory configurations, and provides step‑by‑step commands for creating, managing, and tuning swap partitions or files, including swappiness and ZFS considerations.

Memory ManagementSwapSystem Administration
0 likes · 15 min read
Master Linux Swap: When, How Much, and How to Optimize Performance
ITPUB
ITPUB
Jun 2, 2017 · Fundamentals

How Linux Swaps Memory: Inside Swap, Swappiness, and kswapd Mechanics

This article explains Linux’s swap subsystem in the 4.4 kernel, covering what swap does, the role of swappiness, memory watermarks, kswapd’s operation, swap partition priority, and how the kernel balances anonymous page swapping with file‑cache reclamation.

kswapdswappiness
0 likes · 12 min read
How Linux Swaps Memory: Inside Swap, Swappiness, and kswapd Mechanics
Efficient Ops
Efficient Ops
Jun 5, 2016 · Operations

Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory

This article explains Linux swap fundamentals, the role of swappiness, kswapd behavior, memory watermarks, and related kernel parameters, providing practical guidance on configuring swap priority, zone reclaim, and other settings to optimize system performance under various workloads.

Memory ManagementSwapSystem Administration
0 likes · 20 min read
Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory