Tag

ulimit

1 views collected around this technical thread.

Raymond Ops
Raymond Ops
Dec 25, 2024 · Operations

Master Linux Resource Limits: /etc/security/limits.conf, ulimit, and systemd Explained

This article provides a comprehensive guide to Linux resource limits, covering the role of /etc/security/limits.conf and its overrides, proper ulimit configuration, temporary versus permanent settings, common commands, and how systemd services manage their own limits.

PAMlinuxresource limits
0 likes · 14 min read
Master Linux Resource Limits: /etc/security/limits.conf, ulimit, and systemd Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 29, 2024 · Operations

Resolving OAT Precheck ulimit Errors by Enabling PAM in SSH Configuration

This article explains why OAT's precheck fails due to mismatched ulimit values when SSH does not load PAM limits, and provides a step‑by‑step solution to enable PAM in sshd_config so the expected limits are applied correctly.

OATPAMSSH
0 likes · 10 min read
Resolving OAT Precheck ulimit Errors by Enabling PAM in SSH Configuration
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
Ops Development Stories
Ops Development Stories
Feb 7, 2022 · Fundamentals

Understanding Linux Processes, Threads, and Container Limits

This article explains Linux processes and threads, their relationship, key kernel parameters like ulimit, threads‑max, and pid_max, and how to limit thread and PID usage in containers using cgroups, Docker, and Kubernetes to prevent resource exhaustion.

ContainerProcesscgroup
0 likes · 10 min read
Understanding Linux Processes, Threads, and Container Limits
Refining Core Development Skills
Refining Core Development Skills
Feb 8, 2021 · Operations

Understanding and Resolving the “Too Many Open Files” Error on Linux

This article explains why the “Too many open files” error occurs on Linux, analyzes the three related kernel parameters (fs.nr_open, nofile, and fs.file-max), shows the relevant source code, and provides step‑by‑step configuration guidance to safely increase file descriptor limits.

KernelPerformancefile descriptors
0 likes · 12 min read
Understanding and Resolving the “Too Many Open Files” Error on Linux
Efficient Ops
Efficient Ops
Apr 19, 2020 · Operations

Mastering ulimit: Prevent Common Limits Pitfalls in SysVinit, Systemd, and Containers

This article explains how ulimit settings can cause hidden failures across SysVinit, Systemd, and container environments, details common pitfalls such as PAM overrides and Debian-specific bugs, and provides step‑by‑step solutions and troubleshooting tips to ensure reliable limit configurations.

PAMSysVinitlimit troubleshooting
0 likes · 9 min read
Mastering ulimit: Prevent Common Limits Pitfalls in SysVinit, Systemd, and Containers
NetEase Game Operations Platform
NetEase Game Operations Platform
Feb 22, 2020 · Operations

Understanding and Troubleshooting ulimit Issues Across SysVinit, Systemd, and PAM

This article shares practical experiences and detailed guidance on diagnosing and fixing ulimit-related problems in SysVinit, Systemd, and PAM environments, helping operators avoid common pitfalls and ensure reliable process limits on Linux systems.

PAMSysVinitlinux
0 likes · 8 min read
Understanding and Troubleshooting ulimit Issues Across SysVinit, Systemd, and PAM
360 Tech Engineering
360 Tech Engineering
Dec 19, 2018 · Operations

Resolving Port and File Descriptor Limits in MQTT Performance Testing with JMeter

This article explains how to identify and resolve two common factors—port number limits and file descriptor limits—that restrict server connection counts during MQTT performance testing with JMeter, providing step‑by‑step guidance and command‑line adjustments such as updating the ulimit value.

JMeterMQTTPerformance Testing
0 likes · 3 min read
Resolving Port and File Descriptor Limits in MQTT Performance Testing with JMeter
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.

JMeterMQTTconnection limits
0 likes · 3 min read
Performance Testing of Long-Connection Services: Identifying and Resolving Connection Limits in MQTT with JMeter
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.

Core DumpSupervisordebugging
0 likes · 6 min read
Resolving Missing Core Dumps When Using Supervisor on CentOS 6.5
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jun 1, 2016 · Operations

Increasing Linux File Descriptor and TCP Connection Limits for High‑Concurrency Applications

This guide explains how to raise Linux user‑process file descriptor limits, adjust kernel TCP parameters, and use efficient I/O mechanisms such as epoll or AIO to support thousands of simultaneous TCP connections for high‑concurrency network programs.

Network TuningTCPhigh concurrency
0 likes · 13 min read
Increasing Linux File Descriptor and TCP Connection Limits for High‑Concurrency Applications