Q's Blog

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 Converting .sas7bdat to .csv Without SAS

2 minute read Published: 2023-08-27

The .sas7bdat format is integral to SAS (Statistical Analysis System) software, widely used in data analysis and statistical modeling. This proprietary format excels in handling complex datasets, with features like:

Guide to Creating a Bootable macOS USB Installer on Modern Systems

2 minute read Published: 2023-07-19

Creating a macOS USB Installer can be more challenging than its Windows counterpart, particularly when dealing with older macOS versions on the latest systems. For instance, I faced difficulties while attempting to reinstall macOS 10.7 Lion on a Mac Pro 2012 using a MacBook Air with an M1 chip and the latest macOS. This article aims to document the solutions I found for these challenges, which may help others facing similar issues.

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.