linux

How to Avoid Being Killed by the OOM Killer - Adding Swap Space

3 minute read Published: 2024-01-13

In Linux systems, memory management is crucial for maintaining system stability and performance. One component at the heart of this process is the "Out-Of-Memory (OOM) Killer." This process steps in when your system is critically low on memory. It selectively terminates one or more processes to free up memory and prevent a system crash. However, the intervention of the OOM Killer can be disruptive, as it might terminate essential or high-priority processes.

Guide to Disabling Automatic APT on Debian for Low-Resource VPS

2 minute read Published: 2023-06-10

I recently acquired two budget-friendly Virtual Private Servers (VPS) from OranMe, one featuring a 0.1 CPU with 128MB RAM and the other a 0.5 CPU with 512MB RAM. These low-spec servers are not ideal for heavy usage but can be efficient for specific tasks. To maximize their performance, I chose Debian without a desktop environment, aiming to reduce system load.

Step-by-Step Web Server Nginx Setup Guide

1 minute read Published: 2022-11-12

Nginx is a high-performance web server known for its efficiency, especially in terms of memory usage, fast startup times, and handling high concurrency. This makes it a popular choice for various internet projects.

Essential Linux Command Toolkit for Everyday Use

1 minute read Published: 2022-07-28

This compilation is designed to be a handy reference for common Linux commands, helping both new and seasoned users navigate various system tasks with ease.

Docker Installation with Automatic Script

1 minute read Published: 2022-07-07

Docker revolutionizes the way we think about software deployment with its innovative platform-as-a-service (PaaS) model. Utilizing OS-level virtualization, Docker packages software in lightweight, efficient containers, offering a flexible and portable solution for software deployment.