Tagged articles
42 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 30, 2026 · Operations

Master Core Dumps to Diagnose Linux Crashes Like a Pro

This guide explains what a Core Dump is, why it is essential for Linux crash analysis, how the kernel creates it, common signals that trigger it, typical causes of crashes, and step‑by‑step configuration and GDB techniques to capture and debug Core Dump files effectively.

ELFcore dumpcrash analysis
0 likes · 37 min read
Master Core Dumps to Diagnose Linux Crashes Like a Pro
Architect Chen
Architect Chen
Apr 26, 2026 · Backend Development

What Is Nginx’s Maximum Concurrent Connections? A Complete Guide

The article explains that Nginx’s maximum concurrent connections are not a fixed number but are calculated from the worker_processes and worker_connections settings and are ultimately limited by the operating system’s file‑descriptor (ulimit) limits, providing formulas, an example configuration, and commands to verify the limits.

NginxServer Configurationconcurrency
0 likes · 3 min read
What Is Nginx’s Maximum Concurrent Connections? A Complete Guide
Linux Tech Enthusiast
Linux Tech Enthusiast
Dec 23, 2025 · Fundamentals

How Many Threads Can a Single Linux Process Create?

The article explains Linux virtual memory layout, shows that a 32‑bit process can create roughly 380 threads due to an 8 MB default stack, while a 64‑bit process can theoretically spawn millions of threads but is constrained by kernel parameters such as threads‑max, pid_max and max_map_count.

LinuxProcess LimitsStack Size
0 likes · 7 min read
How Many Threads Can a Single Linux Process Create?
MaGe Linux Operations
MaGe Linux Operations
Oct 19, 2025 · Operations

Tune Nginx for Million‑PPS: Kernel & Config Optimizations

This guide walks through step‑by‑step Nginx high‑concurrency tuning—covering Linux kernel network parameters, system limits, worker process settings, connection reuse, HTTP/2, gzip compression, benchmarking, and monitoring—enabling single‑node throughput of over one million packets per second with sub‑50 ms P99 latency.

BenchmarkLinux kernelNginx
0 likes · 17 min read
Tune Nginx for Million‑PPS: Kernel & Config Optimizations
IT Xianyu
IT Xianyu
Jul 2, 2025 · Operations

Master Linux Resource Limits: ulimit, cgroups, and Docker Compose Guide

Learn how to prevent production outages by configuring Linux user-level ulimit limits, system-level cgroups, and Docker Compose resource constraints, with step-by-step commands, configuration examples, and best practices for monitoring and persistent settings across sessions.

Docker Composecgroupsulimit
0 likes · 6 min read
Master Linux Resource Limits: ulimit, cgroups, and Docker Compose Guide
Liangxu Linux
Liangxu Linux
Oct 28, 2024 · Operations

Mastering SSH, Sudo, PAM, and System Limits on Ubuntu

This guide compiles essential Ubuntu system‑administration techniques, covering SSH configuration, root remote login, key‑based authentication, automated login tools, file transfer with SCP/rsync, sudoers rules, PAM module setup, resource limits via pam_limits and ulimit, and Chrony time synchronization.

Sudochronypam
0 likes · 15 min read
Mastering SSH, Sudo, PAM, and System Limits on Ubuntu
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2023 · Cloud Native

Mastering Process Resource Limits in Docker & Kubernetes: ulimit and cgroup Explained

This article explains how Linux ulimit and cgroup mechanisms can be used to restrict file descriptors, memory, and thread counts in containerized environments, compares Docker and Kubernetes configurations, presents experimental results on fd and thread limits, and offers practical recommendations for configuring default‑ulimits, pod‑max‑pids, and system limits.

ContainerDockercgroup
0 likes · 17 min read
Mastering Process Resource Limits in Docker & Kubernetes: ulimit and cgroup Explained
Liangxu Linux
Liangxu Linux
Apr 5, 2023 · Operations

Debugging Core Dumps in Embedded Linux with GDB

This guide explains what core dump files are, how to configure foreground and background processes to generate them on embedded Linux, and provides step‑by‑step commands and sample code for enabling core dumps and analyzing them with arm‑linux‑gnueabihf‑gdb.

DebuggingEmbedded Linuxcore dump
0 likes · 9 min read
Debugging Core Dumps in Embedded Linux with GDB
MaGe Linux Operations
MaGe Linux Operations
Jan 31, 2023 · Cloud Native

Mastering ulimit and cgroup: Limit Files & Threads in Docker/Kubernetes

This article explains how Linux's ulimit and cgroup mechanisms can be used to restrict file descriptors and thread counts in Docker and Kubernetes environments, compares configuration methods, presents experimental results, and offers practical recommendations for setting limits at the container, pod, and host levels.

ContainerKubernetescgroup
0 likes · 17 min read
Mastering ulimit and cgroup: Limit Files & Threads in Docker/Kubernetes
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Dec 10, 2022 · Cloud Native

Why Kubernetes Pods Fail with “Too Many Open Files” and How to Fix It

The article explains the “Too many open files” error in Kubernetes, clarifies that it refers to exceeding system file‑handle limits, shows how to inspect current usage with ulimit and lsof, and provides step‑by‑step commands to temporarily or permanently raise the limits and troubleshoot the application code.

DevOpsKubernetesToo many open files
0 likes · 5 min read
Why Kubernetes Pods Fail with “Too Many Open Files” and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Nov 22, 2022 · Operations

Why Kubernetes Pods Fail with “Resource temporarily unavailable” – Understanding PID Limits

This article analyzes a Kubernetes‑Docker environment where Java pods encounter “fork: Resource temporarily unavailable” errors, tracing the issue through kernel event logs, ulimit settings, PID limits, and related sysctl parameters, and provides detailed recommendations for kernel and user‑level configuration to prevent such failures.

DockerKubernetesLinux kernel
0 likes · 23 min read
Why Kubernetes Pods Fail with “Resource temporarily unavailable” – Understanding PID Limits
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 16, 2022 · Databases

Resolving Xtrabackup Backup Failures Caused by Too Many Open Files in MySQL

This article explains why Percona Xtrabackup backups of MySQL 5.7 can fail with "Too many open files" errors, demonstrates how to reproduce the issue under both non‑root and root users, analyzes the open‑files‑limit settings, and provides practical solutions to adjust system and user limits for successful backups.

BackupDatabase AdministrationLinux
0 likes · 12 min read
Resolving Xtrabackup Backup Failures Caused by Too Many Open Files in MySQL
Liangxu Linux
Liangxu Linux
Nov 25, 2021 · Operations

How to Check and Increase Linux Open File Limits

This guide explains how to view current soft and hard file descriptor limits on Linux, adjust them per session with ulimit, modify system-wide limits via sysctl and /etc/security/limits.conf, and make the changes persistent across reboots.

file descriptorlimits.confsysctl
0 likes · 4 min read
How to Check and Increase Linux Open File Limits
Liangxu Linux
Liangxu Linux
Oct 7, 2021 · Information Security

How a 13‑Character Fork Bomb Crashes Linux and How to Stop It

The article explains the 13‑character fork bomb created by Jaromil in 2002, shows how it exhausts system resources by recursively forking processes, demonstrates its impact on a cloud VM, and provides practical prevention methods using ulimit and limits.conf.

DoSLinuxShell
0 likes · 6 min read
How a 13‑Character Fork Bomb Crashes Linux and How to Stop It
Open Source Linux
Open Source Linux
Sep 10, 2021 · Information Security

How a 13‑Character Fork Bomb Crashes Linux and How to Stop It

Jaromil’s 13‑character Linux fork bomb demonstrates how a tiny Bash function can recursively spawn processes, exhausting system resources and causing a denial‑of‑service crash, while the article explains its mechanics, shows a live cloud‑VM demo, and provides practical mitigation using ulimit and security limits.

DoSLinuxShell scripting
0 likes · 5 min read
How a 13‑Character Fork Bomb Crashes Linux and How to Stop It
Open Source Linux
Open Source Linux
Aug 22, 2021 · Operations

How to Master Linux Resource Limits: Boost Your Server Stability

This article explains how Linux system and user resource limits—such as file descriptors, stack size, and process counts—can cause runtime failures, demonstrates practical experiments to modify these limits via ulimit, /etc/security/limits.conf, and prlimit, and provides guidance for stable server-side programming.

LinuxSystem Administrationprlimit
0 likes · 8 min read
How to Master Linux Resource Limits: Boost Your Server Stability
Liangxu Linux
Liangxu Linux
Jul 1, 2021 · Operations

Mastering ulimit: How to View and Adjust Linux Resource Limits

Learn how to use the Linux ulimit command to inspect and modify both hard and soft resource limits, understand the meaning of limit values such as hard, soft, and unlimited, and apply temporary or permanent changes via command line or the limits.conf file.

LinuxSystem Administrationhard limit
0 likes · 3 min read
Mastering ulimit: How to View and Adjust Linux Resource Limits
Liangxu Linux
Liangxu Linux
May 20, 2021 · Operations

How to Diagnose and Raise Linux Resource Limits for Files, Stack, and Processes

This article explains why Linux imposes resource limits, shows how to inspect user‑level limits with ulimit, demonstrates practical experiments to increase file‑descriptor and stack limits via /etc/security/limits.conf, and outlines system‑wide constraints and tools like prlimit for robust server programming.

LinuxStack Sizefile-descriptors
0 likes · 7 min read
How to Diagnose and Raise Linux Resource Limits for Files, Stack, and Processes
Liangxu Linux
Liangxu Linux
Dec 13, 2020 · Operations

How to Raise Linux Open‑File Limits with ulimit, PAM, and sysctl

This guide explains why Linux limits the number of open files, shows how to view current limits, and provides three practical methods—using the ulimit command, editing PAM limits, and adjusting sysctl settings—to permanently increase both soft and hard file‑descriptor limits.

Linuxpam_limitssystem limits
0 likes · 8 min read
How to Raise Linux Open‑File Limits with ulimit, PAM, and sysctl
Liangxu Linux
Liangxu Linux
Oct 1, 2020 · Operations

Boost Linux High‑Concurrency Performance with Essential Kernel Tweaks

This guide explains how to configure Linux system limits, kernel TCP parameters, and I/O event mechanisms to enable a single process to handle a large number of simultaneous connections, improving server throughput and stability under high‑concurrency workloads.

Kernel TuningLinuxhigh concurrency
0 likes · 13 min read
Boost Linux High‑Concurrency Performance with Essential Kernel Tweaks
360 Quality & Efficiency
360 Quality & Efficiency
Dec 14, 2018 · Operations

Performance Testing of Long-Connection Services: Identifying and Resolving Connection Limits in MQTT with JMeter

This article explains how to conduct performance testing for long‑connection services such as MQTT using JMeter, highlights common factors that restrict connection counts like system port limits and file descriptor caps, and provides step‑by‑step instructions to adjust sysctl and ulimit settings to obtain accurate results.

JMeterMQTTPerformance Testing
0 likes · 3 min read
Performance Testing of Long-Connection Services: Identifying and Resolving Connection Limits in MQTT with JMeter
MaGe Linux Operations
MaGe Linux Operations
Feb 5, 2018 · Operations

6 Common Linux Ops Issues and How to Fix Them Quickly

This article presents a systematic troubleshooting workflow for Linux operations engineers, covering six typical problems—including filesystem corruption, disk‑space exhaustion, inode depletion, deleted files that still occupy space, too many open files, and read‑only filesystems—along with concrete commands and solutions to resolve each issue.

FilesystemLinuxOperations
0 likes · 13 min read
6 Common Linux Ops Issues and How to Fix Them Quickly
MaGe Linux Operations
MaGe Linux Operations
Jul 21, 2017 · Operations

Master Linux Troubleshooting: 9 Common Errors and Their Fixes

This guide walks you through a systematic approach to diagnosing and resolving nine frequent Linux system problems—from read‑only file systems and argument‑list limits to inode exhaustion, space‑not‑released files, too many open files, and Apache startup failures—providing clear command‑line solutions for each.

Error HandlingLinuxfsck
0 likes · 18 min read
Master Linux Troubleshooting: 9 Common Errors and Their Fixes
Hujiang Technology
Hujiang Technology
Jul 17, 2017 · Operations

Resolving Missing Core Dumps When Using Supervisor on CentOS 6.5

This article explains why C/C++ applications managed by Supervisor on CentOS 6.5 fail to generate core dump files, analyzes the environment differences that set the core file size limit to zero, and provides both temporary and permanent fixes by adjusting ulimit settings and modifying Supervisor's options.py.

LinuxSupervisorcore dump
0 likes · 6 min read
Resolving Missing Core Dumps When Using Supervisor on CentOS 6.5
ITPUB
ITPUB
May 31, 2017 · Information Security

How a 13‑Character Fork Bomb Crashes Linux and How to Prevent It

This article explains the tiny 13‑character Linux fork bomb that can exhaust system resources and cause a denial‑of‑service crash, demonstrates its effect on a cloud VM, and shows how to mitigate the threat using ulimit and limits.conf settings.

Denial of Servicefork bombshell security
0 likes · 6 min read
How a 13‑Character Fork Bomb Crashes Linux and How to Prevent It
MaGe Linux Operations
MaGe Linux Operations
Nov 19, 2014 · Operations

Fix “Too Many Open Files” on Linux: Raise File Descriptor Limits

When a performance test that simulates 100 concurrent HTTP GET requests triggers a “Too many open files” error, the article explains why the default 1024 file‑descriptor limit causes the failure and provides step‑by‑step commands to permanently increase the limit on Linux systems.

file-descriptorslimits.confperformance-testing
0 likes · 2 min read
Fix “Too Many Open Files” on Linux: Raise File Descriptor Limits