Kubernetes High P99 Latency Despite Low Average CPU (CFS Throttling)
Tight `limits.cpu` throttled multi-threaded Node/JVM bursts within 100ms CFS periods.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Kubernetes High P99 Latency Despite Low Average CPU (CFS Throttling)
Platform: Kubernetes
Common Root Causes:
- Tight `limits.cpu` throttled multi-threaded Node/JVM bursts within 100ms CFS periods.
Interactive Diagnostic Checklist
Verified Solutions:
- Set accurate `requests.cpu` and raise or remove overly restrictive `limits.cpu`.
Safe Diagnostic Command:
cat /sys/fs/cgroup/cpu.stat
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Tight `limits.cpu` throttled multi-threaded Node/JVM bursts within 100ms CFS periods. Recommended diagnostic: `cat /sys/fs/cgroup/cpu.stat`. Remediation: Set accurate `requests.cpu` and raise or remove overly restrictive `limits.cpu`.
Worked Examples
- Run `cat /sys/fs/cgroup/cpu.stat` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-k8s-cpu-throttling-cfs-quota · Independently verified: 2026-11-25