Latest articles
3 articles in the current browsing window, ordered by publication date.
An 8‑year ops veteran investigates a night‑time alert showing 900% CPU usage, discovers that a JVM inside a Kubernetes pod misreads host cores while the container is limited to two CPUs, and outlines how improper thread‑pool settings and monitoring metrics caused massive throttling before presenting concrete fixes.

Docker leverages Linux cgroups to limit and schedule CPU usage per container, allowing you to set an upper bound on cores with the --cpus flag while keeping the actual cores dynamically allocated and leaving other system processes free to use the remaining CPUs.

This article analyzes the lack of thread‑count limits in a Kubernetes‑based private cloud platform, reproduces the issue with a Python multiprocessing script, and proposes a solution that combines the cgroup pids subsystem with inotify to enforce per‑container thread limits and provide real‑time alerts.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.