Tagged articles
37 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
May 10, 2026 · Operations

Avoid These 10 Common Docker Production Pitfalls (Plus 5 Hidden Issues)

This article compiles the ten most frequent Docker problems encountered in production—such as disk exhaustion, time drift, DNS failures, OOM kills, data loss, tag confusion, signal handling, resource‑limit oversights, and exposed daemon ports—provides concrete symptoms, root‑cause explanations, diagnostic commands, remediation steps, and preventive measures, and also lists five often‑overlooked traps.

Dockercontainer-runtimenetwork
0 likes · 32 min read
Avoid These 10 Common Docker Production Pitfalls (Plus 5 Hidden Issues)
MaGe Linux Operations
MaGe Linux Operations
Feb 12, 2026 · Operations

Master Systemd: Build Production‑Ready Service Files from Scratch

This comprehensive guide walks you through Systemd’s architecture, explains every Unit type and Service section, shows how to choose the right Service Type, configure restart policies, watchdogs, resource limits, security hardening, logging, Timers and Socket activation, and provides a complete production‑grade Service file template with deployment steps and a checklist.

LinuxServiceSystemd
0 likes · 41 min read
Master Systemd: Build Production‑Ready Service Files from Scratch
Raymond Ops
Raymond Ops
Nov 18, 2025 · Operations

How to Optimize Linux Server Performance: Monitoring, Tuning, and Resource Management

This guide explains how to identify performance bottlenecks on Linux servers and improve stability by adjusting kernel parameters, using monitoring tools like vmstat, mpstat, iostat, and sar, and applying resource‑limit techniques such as ulimit, PAM, and cgroups across CPU, memory, disk, and network subsystems.

Linuxoptimizationperformance tuning
0 likes · 39 min read
How to Optimize Linux Server Performance: Monitoring, Tuning, and Resource Management
Ops Community
Ops Community
Oct 7, 2025 · Operations

How I Cut API Response Time from 500 ms to 100 ms with Linux Tuning

This article recounts a two‑week Linux system tuning project that reduced a high‑traffic API’s P99 response time from over 500 ms to under 100 ms by systematically diagnosing bottlenecks, applying USE‑based analysis, and tuning kernel, network, file‑descriptor, memory, CPU, and I/O parameters.

API latency reductionLinux TuningTCP Optimization
0 likes · 26 min read
How I Cut API Response Time from 500 ms to 100 ms with Linux Tuning
DevOps Coach
DevOps Coach
Sep 8, 2025 · Operations

How I Cut Kubernetes Pod Startup Time by 80% with Simple Tweaks

The article explains practical steps—shrinking container images, fixing probe delays, streamlining init containers, and right‑sizing resources—to dramatically reduce pod startup latency from minutes to seconds without rewriting Kubernetes itself.

Container image optimizationInit containersKubernetes
0 likes · 6 min read
How I Cut Kubernetes Pod Startup Time by 80% with Simple Tweaks
Raymond Ops
Raymond Ops
Jul 8, 2025 · Operations

Master Linux Kernel Tuning: Boost Network, File Limits & Disk Scheduling for High‑Performance Servers

This guide walks you through optimizing Linux kernel parameters—including sysctl network settings, local port ranges, and file descriptor limits—shows a real‑world Nginx high‑traffic case, and explains disk scheduler choices, providing concrete commands and recommended values for robust server performance.

Kernel TuningLinuxdisk-scheduler
0 likes · 11 min read
Master Linux Kernel Tuning: Boost Network, File Limits & Disk Scheduling for High‑Performance Servers
Raymond Ops
Raymond Ops
May 31, 2025 · Operations

Master Docker Container Management: Run, Stop, Resource Limits & Best Practices

This guide walks through Docker container fundamentals, covering how to run containers with CMD or ENTRYPOINT, keep them alive, attach or exec into them, stop/start/restart, pause/unpause, remove, apply memory, CPU and block I/O limits, and explains the underlying cgroup and namespace technologies that enforce isolation and resource control.

Container ManagementDockerNamespace
0 likes · 18 min read
Master Docker Container Management: Run, Stop, Resource Limits & Best Practices
System Architect Go
System Architect Go
Dec 11, 2024 · Cloud Native

Kubernetes CPU Configuration and Linux CFS Interaction

This article explains how Kubernetes resource requests and limits map to Linux cgroup settings via the CFS scheduler, illustrates the underlying calculations for cpu.shares and cpu.cfs_quota_us, and discusses the impact on programming languages such as Go and Java within containers.

CFSKubernetescgroup
0 likes · 5 min read
Kubernetes CPU Configuration and Linux CFS Interaction
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2024 · Fundamentals

Useful Python Tricks and Advanced Techniques

This article presents a collection of lesser‑known Python tricks—including string cleaning with translate, iterator slicing via itertools.islice, skipping header lines, keyword‑only functions, custom context managers, memory‑saving __slots__, resource limits, import control, and total_ordering—to help developers write cleaner, more efficient code.

Memory OptimizationPythoncontext manager
0 likes · 10 min read
Useful Python Tricks and Advanced Techniques
ITPUB
ITPUB
Jun 22, 2024 · Cloud Native

How to Detect and Prevent OOM and CPU Throttling in Kubernetes

This article explains why memory OOM and CPU throttling are critical issues in Kubernetes, shows how limits and requests work, demonstrates monitoring techniques with Prometheus and cAdvisor, and provides practical best‑practice recommendations to avoid pod eviction and performance degradation.

CPU throttlingKubernetesmonitoring
0 likes · 9 min read
How to Detect and Prevent OOM and CPU Throttling in Kubernetes
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
Cloud Native Technology Community
Cloud Native Technology Community
Jul 18, 2023 · Cloud Native

2023 Kubernetes Reliability Benchmark Highlights Common Configuration Gaps

The 2023 Fairwinds Kubernetes benchmark, analyzing over 150,000 workloads, reveals that many organizations still miss critical best‑practice configurations such as memory limits, liveness probes, proper image pull policies, replica counts, and CPU limits or requests, leading to increased security risks, uncontrolled cloud costs, and reduced reliability.

KubernetesReliabilitybenchmark
0 likes · 7 min read
2023 Kubernetes Reliability Benchmark Highlights Common Configuration Gaps
Efficient Ops
Efficient Ops
Jun 19, 2023 · Cloud Native

How Do Kubernetes Resource Limits Really Work? A Deep Dive into CPU Throttling

This article explains how Kubernetes resource limits function, how to interpret CPU limits as time slices, the Linux accounting system behind them, relevant Prometheus metrics for detecting throttling, practical examples with multithreaded containers, and guidance on setting alerts and avoiding performance pitfalls.

CPU throttlingKubernetesLinux accounting
0 likes · 12 min read
How Do Kubernetes Resource Limits Really Work? A Deep Dive into CPU Throttling
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2023 · Fundamentals

Useful Python Tricks and Techniques for String Handling, Iterators, Context Managers, Memory Optimization, and More

This article introduces a collection of lesser‑known Python tricks—including string cleaning with translate, iterator slicing via itertools.islice, skipping iterable headers, keyword‑only arguments, custom context managers, memory saving with __slots__, resource‑based CPU/memory limits, controlling module exports, and simplifying comparisons with total_ordering.

IteratorsString Manipulationresource-limits
0 likes · 10 min read
Useful Python Tricks and Techniques for String Handling, Iterators, Context Managers, Memory Optimization, and More
Python Programming Learning Circle
Python Programming Learning Circle
Apr 26, 2023 · Fundamentals

Advanced Python Features You May Not Know

This article introduces a collection of lesser‑known but useful Python standard‑library features—including string cleaning, iterator slicing, skipping iterable headers, keyword‑only functions, context‑manager creation, __slots__ memory savings, resource limits, import control, and simplified comparison operators—explaining their usage and benefits for everyday programming.

Advanced FeaturesIteratorscontext managers
0 likes · 8 min read
Advanced Python Features You May Not Know
MaGe Linux Operations
MaGe Linux Operations
Feb 10, 2023 · Cloud Native

How to Detect and Prevent OOM and CPU Throttling in Kubernetes Pods

This article explains why Kubernetes pods encounter out‑of‑memory errors and CPU throttling, how limits and requests influence resource allocation, and provides practical monitoring techniques using Prometheus and cAdvisor to proactively identify and mitigate these issues before they impact performance or cause pod eviction.

CPU throttlingOOMcAdvisor
0 likes · 9 min read
How to Detect and Prevent OOM and CPU Throttling in Kubernetes Pods
Liangxu Linux
Liangxu Linux
Feb 24, 2022 · Cloud Native

Why Docker exec Fails: Diagnosing runc Errors and Resource Limits

This guide walks through a real‑world Docker exec failure, explains the relationship between kubelet, docker‑shim, containerd, and runc, shows step‑by‑step commands to isolate the faulty component, and reveals that a resource‑limit (pids) exhaustion in the container caused the runc exec error.

DockerKubernetescgroups
0 likes · 12 min read
Why Docker exec Fails: Diagnosing runc Errors and Resource Limits
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 14, 2021 · Databases

Testing MySQL open_files_limit: Which Configuration Takes Effect – my.cnf, systemd Service, or Docker Limits

This article presents a systematic investigation of MySQL's open_files_limit setting across three scenarios—conflict between my.cnf and systemd service, effectiveness when using mysqld_safe, and the impact of Docker's own limits—revealing which source actually controls the maximum number of open files.

Systemdcgroupmysql
0 likes · 10 min read
Testing MySQL open_files_limit: Which Configuration Takes Effect – my.cnf, systemd Service, or Docker Limits
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
Python Programming Learning Circle
Python Programming Learning Circle
Jun 9, 2021 · Fundamentals

Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More

This article presents a collection of practical Python techniques—including string cleaning with translation tables, iterator slicing with itertools, skipping file headers, keyword‑only arguments, custom context‑manager objects, memory‑saving __slots__, CPU and memory resource limits, export control via __all__, and simplified total ordering—illustrated with concise code examples.

IteratorPythonString Manipulation
0 likes · 9 min read
Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More
Programmer DD
Programmer DD
May 31, 2021 · Cloud Native

How to Eliminate JVM Warm‑up Delays in Kubernetes with Burstable QoS

Running Java services on Kubernetes often suffers from long JVM warm‑up times that cause high latency during deployments, but by analyzing CPU throttling and leveraging Burstable QoS with appropriate request/limit settings, you can dramatically reduce warm‑up delays without extra pods or cost.

Burstable QoSCPU throttlingJVM
0 likes · 11 min read
How to Eliminate JVM Warm‑up Delays in Kubernetes with Burstable QoS
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
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2020 · Fundamentals

Unlock Hidden Python Tricks: From String Cleanup to Memory Limits

Explore a collection of lesser‑known Python tricks—including string sanitization, iterator slicing, context‑manager shortcuts, memory‑saving slots, resource limits, controlled imports, and simplified ordering—each illustrated with concise code examples to help you write cleaner, more efficient programs.

IteratorMemory OptimizationString Manipulation
0 likes · 10 min read
Unlock Hidden Python Tricks: From String Cleanup to Memory Limits
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
dbaplus Community
dbaplus Community
May 12, 2016 · Databases

Three Surprising Ways to Crash MySQL (And How to Prevent Them)

This article demonstrates three distinct techniques—flooding undo logs, exhausting memory with user variables, and triggering a known bug—to deliberately crash a MySQL instance, explains the underlying mechanisms, shows test results, and offers practical safeguards to keep production databases stable.

bug exploitationdatabase stabilitymysql
0 likes · 7 min read
Three Surprising Ways to Crash MySQL (And How to Prevent Them)