Tagged articles
cpu-troubleshooting
14 articles · Page 1 of 1
This guide presents a systematic, evidence-based approach to diagnosing Linux CPU spikes using six core commands and deeper analysis of processes, threads, cgroups, and runtime profiling to distinguish between user-space computation, system calls, I/O wait, soft interrupts, and container throttling.
LinuxPerformance Analysiscontainer-monitoring
0 likes · 30 min read

A comprehensive guide to diagnosing CPU spikes on Linux servers, covering system-level analysis with top/vmstat, process/thread identification via ps/pidstat, stack tracing with jstack/perf/py-spy, container/Kubernetes resource limits, and real-world case studies including regex bottlenecks, cron job spikes, and CPU throttling.
Go pprofJava profilingKubernetes resource quotas
0 likes · 65 min read

This article details systematic troubleshooting for 900% CPU spikes in MySQL and Java processes, covering top/jstack diagnostics, show processlist analysis, index optimization, cache integration, and fixing busy-wait loops with BlockingQueue.take(), illustrated through real production case studies.
Java thread analysisMySQL performance tuningblocking queue
0 likes · 12 min read


liandkSep 13, 2026 · Backend Development
This article provides a comprehensive guide to troubleshooting Java CPU 100% spikes in production, covering root cause categories, a standard SOP using top, jstack, and thread analysis, a real-world infinite loop case study, GC-related CPU issues, emergency mitigation steps, and long-term prevention practices.
JavaPerformance TuningRoot Cause Analysis
0 likes · 13 min read

This article provides a step-by-step guide to troubleshooting CPU 100% incidents in production, covering Linux CPU metrics, Java GC and thread analysis with jstat/jstack/Arthas, system-level tools like perf and flame graphs, and a detailed case study where MySQL backup-induced replica lag triggered cascading Full GCs and CPU saturation.
GC AnalysisJVM tuningJava performance
0 likes · 49 min read

When a production service shows 100% CPU usage, this guide walks you through a rapid three‑minute workflow—identifying the affected scope, distinguishing user, system, iowait, steal and softirq metrics, and using Linux, systemd, Docker/Kubernetes and language‑specific tools to pinpoint the offending process, thread, or system call before taking corrective actions such as throttling, scaling, or rolling back.
DockerKubernetesLinux
0 likes · 16 min read

When a production server hit 100% CPU at 3 AM, the author walks through a three‑minute, step‑by‑step method—quickly identifying the offending process, drilling into threads, and pinpointing problematic code—while sharing useful shell commands, common pitfalls, advanced safeguards like cgroup limits and eBPF tracing.
Operationscpu-troubleshootingeBPF
0 likes · 9 min read

After a midnight CPU alarm threatened service stability, I walked through rapid diagnosis with top and htop, identified JVM bottlenecks using jstat and async‑profiler, refactored a Java sorting algorithm, added caching, optimized database queries, containerized the service, and set up Prometheus‑Grafana alerts to prevent future incidents.
DockerJava performancePrometheus
0 likes · 7 min read

This guide explains how to identify the root causes of a server's CPU hitting 100%—whether on a database or an application server—by using cloud monitoring, Linux top commands, thread analysis with jstack, and practical Java code fixes such as limiting loops, optimizing locks, and handling GC pressure.
JavaLinux commandsThread Analysis
0 likes · 9 min read

After a midnight CPU alarm, I walked through rapid diagnosis, JVM profiling, algorithm refactoring, database indexing, Docker isolation, and enhanced monitoring to bring a high‑load Java service back to stability, illustrating a comprehensive incident‑response workflow for modern operations teams.
Docker deploymentJVM profilingcpu-troubleshooting
0 likes · 7 min read

This guide walks through a real‑world incident where a data platform’s CPU spiked to 98.94%, showing step‑by‑step how to identify the high‑load process, pinpoint the offending Java thread, analyze the root cause in the time‑utility code, and implement a performance‑focused solution that reduced load by thirtyfold.
Java profilingLinux monitoringbackend operations
0 likes · 7 min read

Learn step-by-step how to identify and resolve sudden 100% CPU usage in Java production servers by locating the offending process and thread on both Windows and Linux, using tools like Process Explorer, top, and jstack, with practical command examples and screenshots.
JavaLinuxcpu-troubleshooting
0 likes · 6 min read

This guide walks through a step‑by‑step investigation of a sudden 98% CPU spike on a data‑platform server, showing how to pinpoint the offending process, trace the problematic Java thread, analyze the root cause in a time‑utility method, and apply an optimized solution that reduces CPU load by thirtyfold.
JavaLinuxOperations
0 likes · 7 min read

This guide walks you through a step‑by‑step process using Linux top, jstack, and hex conversion to pinpoint the exact Java thread causing CPU spikes, enabling effective service optimization and cost reduction without unnecessary scaling.
Java performanceLinux topcpu-troubleshooting
0 likes · 5 min read
