Tagged articles
6 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Oct 30, 2023 · Fundamentals

How Much Virtual Memory Does a Linux Thread Actually Consume?

This article reviews Linux virtual memory layouts for 32‑bit and 64‑bit systems, explains the different memory segments, shows how the default 8 MiB thread stack impacts virtual address consumption, and calculates practical thread limits based on virtual memory and kernel parameters.

32-bit64-bitThread Stack
0 likes · 8 min read
How Much Virtual Memory Does a Linux Thread Actually Consume?
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
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