Tagged articles
141 articles
Page 1 of 2
macrozheng
macrozheng
Apr 30, 2026 · Operations

How AI-Powered Arthas with MCP Transforms Online Issue Diagnosis

The article explains how integrating Arthas with the Model Context Protocol (MCP) enables AI-driven, natural‑language troubleshooting of Java‑based online incidents, offering step‑by‑step diagnostics, concrete case studies, and a balanced view of its advantages and current limitations.

AI debuggingArthasJava
0 likes · 11 min read
How AI-Powered Arthas with MCP Transforms Online Issue Diagnosis
Java Companion
Java Companion
Apr 18, 2026 · Backend Development

How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis

The article explains how the open‑source Java diagnostic tool Arthas now supports the Model Context Protocol (MCP), allowing AI assistants to invoke Arthas commands directly for CPU, latency, version, and Spring Bean issues, while covering installation, usage scenarios, and production safeguards.

AIArthasBackend Tools
0 likes · 13 min read
How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis
Java Web Project
Java Web Project
Apr 16, 2026 · Backend Development

How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service

The article walks through a 13‑hour out‑of‑memory incident on a Spring Boot 2.7 service running in Kubernetes, detailing how to preserve the crash dump, interpret GC logs, use MAT and Arthas to pinpoint a static HashMap leak, and apply both temporary and permanent fixes while hardening the system for future safety.

ArthasJVMJava
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
Java Architecture Diary
Java Architecture Diary
Apr 15, 2026 · Operations

Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process

When a service’s P99 latency spikes to seconds and CPU hits 90% without logs, Arthas lets you inspect the JVM in real time without code changes, and its AI‑driven MCP extension automates command selection, enabling developers to diagnose, trace, decompile, and monitor issues through simple natural‑language prompts and Spring Boot integration.

AI OperationsArthasJVM debugging
0 likes · 8 min read
Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process
SpringMeng
SpringMeng
Apr 8, 2026 · Operations

AI-Integrated Arthas: Turning Online Issue Diagnosis into One-Click Debugging

The article explains how Arthas, now integrated with the Model Context Protocol (MCP), lets AI automatically execute and interpret diagnostic commands for Java applications, offering step‑by‑step case studies, a detailed workflow, and an analysis of its strengths and limitations.

AI debuggingArthasJava
0 likes · 13 min read
AI-Integrated Arthas: Turning Online Issue Diagnosis into One-Click Debugging
Su San Talks Tech
Su San Talks Tech
Apr 6, 2026 · Operations

How AI‑Powered Arthas MCP Transforms Java Runtime Troubleshooting

This article explains how the Model Context Protocol (MCP) integrates with Arthas to let AI agents automatically diagnose Java production issues—such as high CPU, slow responses, memory leaks, and deadlocks—by invoking Arthas commands via natural‑language queries, eliminating manual command‑line steps.

AI debuggingArthasMCP
0 likes · 11 min read
How AI‑Powered Arthas MCP Transforms Java Runtime Troubleshooting
Java Architect Handbook
Java Architect Handbook
Mar 22, 2026 · Backend Development

Hidden 70 ms Delay in Spring Boot: Tomcat Embed Bug Triggered by Swagger UI

After optimizing a Spring Boot channel service, a mysterious extra ~100 ms appeared per request; detailed tracing with Arthas revealed that embedded Tomcat repeatedly loads Swagger UI META‑INF resources, causing a 70 ms overhead, which can be eliminated by upgrading Tomcat or removing the Swagger dependencies.

ArthasEmbedded Tomcat BugPerformance debugging
0 likes · 30 min read
Hidden 70 ms Delay in Spring Boot: Tomcat Embed Bug Triggered by Swagger UI
Coder Trainee
Coder Trainee
Mar 21, 2026 · Fundamentals

Understanding JVM Basics for Effective Tuning

The article explains the JVM's core components, execution workflow, garbage collection fundamentals—including GC roots and Stop-The-World pauses—and introduces basic tuning tools like VisualVM and Arthas, helping readers grasp where performance optimizations should focus.

ArthasGarbage CollectionJVM
0 likes · 3 min read
Understanding JVM Basics for Effective Tuning
Code Ape Tech Column
Code Ape Tech Column
Feb 25, 2026 · Backend Development

Why a Spring Boot API Took 100ms Extra: Tracing Tomcat’s Hidden Jar Loading Bug

A Spring Boot channel service showed an unexpected 100 ms latency; by systematically checking network, using curl, and employing Arthas to trace Spring MVC and Tomcat internals, the author discovered a Tomcat‑embed bug that repeatedly loads Swagger‑UI JAR resources, which is resolved by upgrading Tomcat.

ArthasEmbedded TomcatPerformance debugging
0 likes · 15 min read
Why a Spring Boot API Took 100ms Extra: Tracing Tomcat’s Hidden Jar Loading Bug
Architect's Guide
Architect's Guide
Jan 28, 2026 · Operations

How to Deploy and Use Arthas Tunnel for Real‑Time Java Diagnostics

This guide explains how to build, run, and deploy the open‑source Arthas Tunnel tool—including Maven compilation, Docker and Helm deployment, UI startup, and integration with Spring Boot via the eden‑architect framework—while providing configuration examples and repository links for quick setup.

ArthasDockerJava Diagnostics
0 likes · 6 min read
How to Deploy and Use Arthas Tunnel for Real‑Time Java Diagnostics
Selected Java Interview Questions
Selected Java Interview Questions
Jan 18, 2026 · Backend Development

How to Seamlessly Integrate Arthas into Spring Boot for Real‑Time Monitoring

This guide explains how to embed the Arthas online monitoring tool into a Spring Boot application using the Arthas Spring Boot Starter, configure telnet and HTTP ports, access the console via terminal or web, and extend debugging across multiple services with Arthas Tunnel while addressing security considerations.

ArthasDebuggingJava
0 likes · 12 min read
How to Seamlessly Integrate Arthas into Spring Boot for Real‑Time Monitoring
macrozheng
macrozheng
Dec 1, 2025 · Operations

How to Install and Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool

This guide introduces Meteor-Console, a customized, non‑intrusive Java diagnostic tool built on Arthas, explains its architecture, provides step‑by‑step installation commands, lists key features such as JVM class query and method monitoring, and shares the open‑source repository link.

ArthasInstallationJava
0 likes · 3 min read
How to Install and Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool
Architect's Guide
Architect's Guide
Nov 1, 2025 · Backend Development

How to Use Java Agents for Non‑Intrusive Method Timing and Tracing

This article demonstrates how to use Java Agent and the java.lang.instrument API to non‑intrusively measure method execution time, dynamically modify bytecode with ASM, leverage Attach for runtime instrumentation, and explore related tools like Arthas and Bytekit for tracing and debugging Java applications.

ArthasBytekitInstrumentation
0 likes · 24 min read
How to Use Java Agents for Non‑Intrusive Method Timing and Tracing
IT Services Circle
IT Services Circle
Oct 12, 2025 · Backend Development

Mastering CPU Bottleneck Diagnosis in Java with Arthas

This guide explains how to use Alibaba's open‑source Java diagnostic tool Arthas to non‑intrusively monitor, locate, and resolve CPU performance bottlenecks in production Java applications, covering installation, key commands, a step‑by‑step troubleshooting workflow, and a real‑world case study.

ArthasCPU profilingJava performance
0 likes · 16 min read
Mastering CPU Bottleneck Diagnosis in Java with Arthas
Architect's Guide
Architect's Guide
Sep 15, 2025 · Backend Development

How to Use Java Agents and Instrumentation for Non‑Intrusive Performance Monitoring

This article explains why inserting manual timing code is invasive, introduces the java.lang.instrument API, shows how to write a tiny Java Agent with premain and agentmain methods, demonstrates dynamic class redefinition via the Attach API, and explores how tools like Arthas and Bytekit leverage these mechanisms for runtime tracing and bytecode enhancement.

ArthasAttach APIInstrumentation
0 likes · 19 min read
How to Use Java Agents and Instrumentation for Non‑Intrusive Performance Monitoring
Code Ape Tech Column
Code Ape Tech Column
Aug 12, 2025 · Operations

How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning

Meteor, built on Alibaba's Arthas, is a non‑intrusive Java diagnostic console that lets developers monitor running applications, locate performance bottlenecks, memory leaks, and thread deadlocks without restarting services, offering a SpringBoot‑based architecture, quick start commands, and features such as class inspection, live code editing, method monitoring, thread management, and dashboards.

ArthasJavaPerformance Monitoring
0 likes · 4 min read
How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning
macrozheng
macrozheng
Aug 1, 2025 · Operations

Mastering Arthas: Fast, Non‑Intrusive Debugging of Java Production Issues

This guide demonstrates how Arthas enables rapid, non‑intrusive diagnosis of Java production problems by addressing common online challenges such as slow interfaces, thread blocking, memory leaks, hot‑fixes, and data inconsistencies, offering concrete commands, code examples, and best‑practice tips for reliable operations.

ArthasJavaperformance
0 likes · 10 min read
Mastering Arthas: Fast, Non‑Intrusive Debugging of Java Production Issues
vivo Internet Technology
vivo Internet Technology
Jul 23, 2025 · Backend Development

Why Does My Service’s CPU Spike After Restart? Deep Dive into Thread Bottlenecks and JIT Compilation

This article analyzes the CPU spikes that occur within minutes after a Java service restart, explains how excessive Runnable threads, frequent context switches, and JIT compiler activity cause the overload, and presents step‑by‑step diagnostics and mitigation strategies such as traffic greying, cache pre‑warming, request‑parameter cleanup, and JVM warm‑up.

ArthasCPU profilingJIT Compilation
0 likes · 32 min read
Why Does My Service’s CPU Spike After Restart? Deep Dive into Thread Bottlenecks and JIT Compilation
Su San Talks Tech
Su San Talks Tech
Jul 18, 2025 · Backend Development

Mastering Production Debugging: How Arthas Instantly Pinpoints Java Issues

This article explains why traditional monitoring tools often fail in production, introduces Arthas as a lightweight, non‑intrusive Java diagnostic solution, and walks through five real‑world scenarios—slow interfaces, thread blockage, memory leaks, hot‑fixes, and data inconsistency—showing exact commands, code snippets, and visualizations to quickly locate and resolve root causes.

ArthasJava debuggingProduction troubleshooting
0 likes · 11 min read
Mastering Production Debugging: How Arthas Instantly Pinpoints Java Issues
Java Architect Essentials
Java Architect Essentials
Jul 8, 2025 · Backend Development

Diagnose Java Memory Leaks in Minutes with Spring Boot Actuator and Arthas

This article explains why traditional heap dump and stack trace analysis are cumbersome, and shows how combining Spring Boot Actuator metrics with the Arthas diagnostic tool provides real‑time monitoring, rapid object inspection, and precise leak root‑cause identification, dramatically speeding up Java OOM troubleshooting.

ActuatorArthasSpring Boot
0 likes · 14 min read
Diagnose Java Memory Leaks in Minutes with Spring Boot Actuator and Arthas
Tech Freedom Circle
Tech Freedom Circle
Jul 8, 2025 · Backend Development

How to Diagnose and Prevent Java Deadlocks (Alibaba & Other Big‑Company Interviews)

This article explains what a deadlock is, the four necessary conditions that cause it, demonstrates classic synchronized‑based and Lock‑based deadlock examples in Java, shows how to detect deadlocks with tools such as Arthas, jstack, jvisualvm and JMC, and provides practical strategies—including lock ordering, timeout locks, and two‑phase locking—to break each condition and avoid deadlocks in production code.

ArthasJavaLock
0 likes · 24 min read
How to Diagnose and Prevent Java Deadlocks (Alibaba & Other Big‑Company Interviews)
macrozheng
macrozheng
Jun 26, 2025 · Operations

Master JVM Performance: Visual Tools, JConsole, VisualVM & Arthas Guide

This guide introduces JVM performance monitoring by explaining built‑in tools like JConsole and VisualVM, showcasing third‑party solutions such as Arthas, and providing step‑by‑step commands and screenshots to help developers quickly visualize and troubleshoot Java applications.

ArthasJConsoleJVM
0 likes · 12 min read
Master JVM Performance: Visual Tools, JConsole, VisualVM & Arthas Guide
FunTester
FunTester
Mar 27, 2025 · Backend Development

Curated List of Development Tutorials and Video Resources

This page compiles a comprehensive collection of tutorial links and video resources covering Chrome extension development, Java performance testing, interface testing, Groovy scripting, various utility videos, and the Arthas diagnostic tool, providing developers with organized references for learning and practice.

ArthasGroovyJava performance
0 likes · 5 min read
Curated List of Development Tutorials and Video Resources
macrozheng
macrozheng
Mar 11, 2025 · Backend Development

Master Java Debugging with Arthas: Essential Commands and Real‑World Use Cases

This guide introduces Alibaba's open‑source Arthas Java diagnostic tool, explains its installation, outlines common troubleshooting scenarios, and provides detailed examples of core commands such as stack, jad, sc, watch, trace, jobs, logger, dashboard, and redefine for live JVM debugging.

ArthasBackend DevelopmentDebugging
0 likes · 17 min read
Master Java Debugging with Arthas: Essential Commands and Real‑World Use Cases
macrozheng
macrozheng
Feb 5, 2025 · Operations

Master Java Application Diagnostics with the Open‑Source Meteor Console

This guide introduces the open‑source Meteor Console, a non‑intrusive Java application diagnostic tool built on Arthas, covering its architecture, installation steps, core features like class querying, method monitoring, thread management, and links to the full microservice project and video tutorials.

ArthasDockerKubernetes
0 likes · 4 min read
Master Java Application Diagnostics with the Open‑Source Meteor Console
Architect
Architect
Jan 20, 2025 · Backend Development

Resolving a 100 ms Latency Issue in Spring Boot’s Embedded Tomcat Using Arthas Tracing

The article details a step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot‑based channel system, covering network checks, curl measurements, Arthas trace and watch commands, identification of TomcatJarInputStream’s repeated jar‑resource loading caused by Swagger dependencies, and the final fix by upgrading the embedded Tomcat version.

ArthasSwaggerTomcat
0 likes · 14 min read
Resolving a 100 ms Latency Issue in Spring Boot’s Embedded Tomcat Using Arthas Tracing
Java Backend Technology
Java Backend Technology
Dec 12, 2024 · Operations

How to Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool

Meter-Console, a customized, non‑intrusive Java application diagnostic tool built on Alibaba’s open‑source Arthas, offers features such as JVM class inspection, online code editing, method monitoring, thread management, and a dashboard; the guide explains its architecture, installation steps, command usage, and provides the open‑source repository link.

Application DiagnosticsArthastool
0 likes · 4 min read
How to Use Meteor-Console: A Non‑Intrusive Java Diagnostic Tool
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 18, 2024 · Backend Development

How to Use Arthas Flamegraph for Java Performance Profiling and Optimization

Learn how to leverage the Arthas flamegraph tool to profile Java applications, interpret CPU usage visualizations, and apply practical optimization techniques illustrated through real-world case studies that reduced CPU consumption by up to 6% and improved system stability during high‑traffic events.

ArthasBackend DevelopmentCPU optimization
0 likes · 7 min read
How to Use Arthas Flamegraph for Java Performance Profiling and Optimization
Su San Talks Tech
Su San Talks Tech
Oct 9, 2024 · Operations

How to Instantly Diagnose Java Production Issues with Arthas

This article introduces Arthas, an open‑source Java diagnostic tool, and demonstrates how to install it, use its command‑line and web console, and apply common commands such as dashboard, thread, watch, trace, and tt to quickly locate CPU spikes, deadlocks, memory leaks, and other production problems without redeploying code.

ArthasJVM diagnosticsJava debugging
0 likes · 20 min read
How to Instantly Diagnose Java Production Issues with Arthas
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2024 · Backend Development

Debugging a 100 ms Latency Bug in a Spring Boot Channel System Using Arthas

This article documents the step‑by‑step investigation of an unexpected ~100 ms response delay in a Spring Boot channel service, showing how network checks, curl tests, Arthas trace/stack commands, and source analysis revealed a Tomcat‑embed bug caused by Swagger‑ui resources and how upgrading Tomcat resolved the issue.

ArthasBackendJava
0 likes · 14 min read
Debugging a 100 ms Latency Bug in a Spring Boot Channel System Using Arthas
Sohu Tech Products
Sohu Tech Products
May 15, 2024 · Backend Development

Essential Skills for Java Programmers: Locating Performance Bottlenecks and Optimizing Interface Response Time

Java developers must master performance optimization by using tools like Skywalking and Arthas, which leverage Java agents, class-loading and bytecode manipulation (via ByteBuddy/ByteKit) to locate bottlenecks, filter data with OGNL, and fine-tune interface response times in real-time.

ArthasCode ProfilingDebugging Tools
0 likes · 14 min read
Essential Skills for Java Programmers: Locating Performance Bottlenecks and Optimizing Interface Response Time
Selected Java Interview Questions
Selected Java Interview Questions
May 11, 2024 · Backend Development

A Comprehensive Guide to Using Arthas for Java Application Diagnosis and Debugging

This article introduces Arthas, an open‑source Java diagnostic tool from Alibaba, explains its key features, shows how to install it via Maven, and provides step‑by‑step commands for entering the shell, monitoring JVM status, tracing method calls, observing system resources, dynamically redefining code, and connecting to applications using default or Telnet modes.

ArthasBackend DevelopmentJava
0 likes · 8 min read
A Comprehensive Guide to Using Arthas for Java Application Diagnosis and Debugging
Architect
Architect
Jan 23, 2024 · Backend Development

How I Cut a Java Service’s Response Time from Seconds to Milliseconds with Arthas

The article details how a high‑traffic Helios scoring service, originally taking several seconds to return a day’s worth of data, was profiled with Arthas and iteratively optimized through four code revisions, ultimately reducing latency to around 60 ms while exposing key performance pitfalls such as object creation, date formatting, and trivial list operations.

ArthasBackendJava
0 likes · 35 min read
How I Cut a Java Service’s Response Time from Seconds to Milliseconds with Arthas
Architecture Digest
Architecture Digest
Dec 4, 2023 · Operations

Using Arthas to Diagnose High CPU Usage in a Java Application

This tutorial demonstrates how to employ the open‑source Java diagnostic tool Arthas to quickly locate and analyze a high‑CPU problem in a running JVM by leveraging commands such as dashboard, thread, jad, watch, and ognl, complete with code examples and step‑by‑step instructions.

ArthasCPU profilingJava
0 likes · 7 min read
Using Arthas to Diagnose High CPU Usage in a Java Application
Java Backend Technology
Java Backend Technology
Oct 27, 2023 · Backend Development

How I Reduced Helios API Latency from Seconds to Milliseconds with Arthas

This article details a step‑by‑step performance tuning of the Helios scoring API, showing how profiling with Arthas revealed costly date formatting and list operations, and how successive code refactors—changing data structures, eliminating redundant object creation, and optimizing loops—cut the response time from several seconds to just a few dozen milliseconds.

ArthasBackend DevelopmentJava
0 likes · 29 min read
How I Reduced Helios API Latency from Seconds to Milliseconds with Arthas
Architecture Digest
Architecture Digest
Oct 26, 2023 · Backend Development

Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application

The article details a week‑long investigation of a sandbox environment where Spring Boot APIs became unresponsive due to Redis connection pool blocking, describing the use of system tools, JVM thread analysis, and code inspection to identify mis‑configured pool settings and recommending proper connection handling with Spring's RedisTemplate.

ArthasConnection PoolDebugging
0 likes · 8 min read
Diagnosing and Resolving Redis Connection Pool Blocking in a Spring Boot Application
Selected Java Interview Questions
Selected Java Interview Questions
Oct 24, 2023 · Backend Development

Performance Optimization of Helios Scoring Service Using Arthas Tracing

This article documents how the Helios scoring service, which processes hundreds of thousands of data points per day, was progressively optimized from several seconds to tens of milliseconds by analyzing Arthas trace data, refactoring loops, reducing object creation, and improving date handling, ultimately revealing that database access becomes the remaining bottleneck.

ArthasBackend DevelopmentJava
0 likes · 33 min read
Performance Optimization of Helios Scoring Service Using Arthas Tracing
Su San Talks Tech
Su San Talks Tech
Oct 21, 2023 · Backend Development

How to Pinpoint Java Performance Bottlenecks with Arthas

This article walks you through using the open‑source Java diagnostic tool Arthas to locate and analyze performance problems in Java applications, covering basic and advanced tracing, filtering, and flame‑graph visualization without modifying source code.

ArthasJava performanceProfiling
0 likes · 9 min read
How to Pinpoint Java Performance Bottlenecks with Arthas
Java Backend Technology
Java Backend Technology
Sep 27, 2023 · Backend Development

How I Reduced a 4‑Second Java API Call to 60ms with Arthas Tracing

This article details how the Helios scoring API, originally taking several seconds, was optimized to under 60 ms by analyzing Arthas traces, refactoring date handling, minimizing object creation, and improving list operations, ultimately revealing database access as the remaining bottleneck.

ArthasBackend DevelopmentJava
0 likes · 31 min read
How I Reduced a 4‑Second Java API Call to 60ms with Arthas Tracing
Liangxu Linux
Liangxu Linux
Aug 22, 2023 · Backend Development

Why Does My First MD5 Call Take Seconds? Debugging Java Hashing Slowness with Arthas

The article explains a real‑world issue where the first invocation of a MD5 hash in a Java backend took dozens of seconds, describes how the problem was traced using the Arthas diagnostic tool, reveals that the delay stemmed from BouncyCastle algorithm loading, and shows how replacing the library resolved the performance bottleneck.

ArthasBackendDebugging
0 likes · 10 min read
Why Does My First MD5 Call Take Seconds? Debugging Java Hashing Slowness with Arthas
Code Ape Tech Column
Code Ape Tech Column
Aug 14, 2023 · Operations

Using Arthas to Diagnose High CPU Issues in a Java Application

This article demonstrates how to use Alibaba's open‑source Java diagnostic tool Arthas to quickly locate and fix high CPU usage in a Java application, covering installation, attaching to a JVM, using dashboard, thread, jad, watch, and ognl commands, and interpreting the results.

ArthasCPUJava
0 likes · 8 min read
Using Arthas to Diagnose High CPU Issues in a Java Application
Architect's Tech Stack
Architect's Tech Stack
Aug 12, 2023 · Backend Development

Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas

This article explains how Java objects store attributes and shared behavior, describes the JVM method area where method bytecode resides, and demonstrates runtime bytecode manipulation using java.lang.instrument.Instrumentation, BTrace scripts, and the Arthas diagnostic tool to solve real‑world debugging problems.

ArthasBTraceInstrumentation
0 likes · 15 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Java Interview Crash Guide
Java Interview Crash Guide
Aug 1, 2023 · Backend Development

How to Quickly Identify Slow Java Code Blocks with Arthas

This guide explains how to use the open‑source Java diagnostic tool Arthas to attach to a running Spring Boot application, view real‑time metrics, and trace method execution in order to pinpoint and optimize performance‑critical code sections without modifying the source.

ArthasJavaProfiling
0 likes · 8 min read
How to Quickly Identify Slow Java Code Blocks with Arthas
Programmer DD
Programmer DD
Jul 28, 2023 · Operations

How to Diagnose Java Thread Deadlocks and High CPU Load with Arthas

This guide explains how to use the Arthas monitoring tool to identify and troubleshoot Java thread deadlocks and excessive CPU usage, demonstrating commands like thread -b and thread -n, interpreting output, and analyzing thread dumps to pinpoint problematic code and optimize performance.

ArthasCPU profilingJava
0 likes · 9 min read
How to Diagnose Java Thread Deadlocks and High CPU Load with Arthas
MaGe Linux Operations
MaGe Linux Operations
Jul 4, 2023 · Backend Development

Master Java Debugging with Alibaba Arthas: A Step‑by‑Step Guide

This tutorial walks through installing Alibaba Arthas, using it to monitor and analyze a Java Fibonacci application, and demonstrates key commands such as dashboard, thread, jad, monitor, watch, and profiler for effective performance debugging without code changes or restarts.

ArthasJavaPerformance Monitoring
0 likes · 12 min read
Master Java Debugging with Alibaba Arthas: A Step‑by‑Step Guide
Java Architect Essentials
Java Architect Essentials
Mar 27, 2023 · Backend Development

Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, and the Arthas Java diagnostic tool to pinpoint a Tomcat‑embed bug caused by Swagger jars, and then shows how upgrading Tomcat or Spring Boot resolves the problem.

ArthasPerformance debuggingSpring Boot
0 likes · 14 min read
Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas
dbaplus Community
dbaplus Community
Mar 14, 2023 · Backend Development

How to Detect and Solve Java Application Performance Bottlenecks: A Practical Guide

This article walks through the evolution of a system’s performance concerns, defines speed and pressure dimensions, explains how to calculate RT, QPS and concurrency, compares QPS with TPS, and provides step‑by‑step methods using tools like Arthas, JMeter and JVM diagnostics to identify and fix CPU, memory and pressure issues before applying layered optimization strategies.

ArthasJMeterJava
0 likes · 12 min read
How to Detect and Solve Java Application Performance Bottlenecks: A Practical Guide
Top Architect
Top Architect
Mar 9, 2023 · Backend Development

Handling NullPointerExceptions in Java: Practices, Tools, and Code Examples

This article explains common null pointer scenarios in Java, how to diagnose them using logs and Arthas, and presents defensive checks, early‑return patterns, strict validation, and Java 8 Optional usage, while also comparing Stream map and flatMap methods with practical code examples.

ArthasJavaStream
0 likes · 7 min read
Handling NullPointerExceptions in Java: Practices, Tools, and Code Examples
Alibaba Cloud Native
Alibaba Cloud Native
Jan 16, 2023 · Cloud Native

Why Java Attach Fails on PID 1 in Containers and How to Fix It

The article reproduces the AttachNotSupportedException when Java runs as PID 1 in a container, explains the JVM attach workflow and LinuxThread model, and provides practical workarounds such as creating .attach_pid files, enabling StartAttachListener, or using newer JDK images.

ArthasAttachCloud Native
0 likes · 11 min read
Why Java Attach Fails on PID 1 in Containers and How to Fix It
Top Architect
Top Architect
Dec 14, 2022 · Backend Development

A Comprehensive Guide to Using Arthas for Java Application Debugging and Monitoring

This article introduces Arthas, Alibaba's open‑source Java diagnostic tool, explains its installation, showcases common commands such as stack, jad, sc, watch, trace, jobs, logger, dashboard, and redefine, and demonstrates how to use them to monitor JVM status, trace method calls, inspect classes, and perform hot‑updates without restarting the application.

ArthasDebuggingJVM Monitoring
0 likes · 14 min read
A Comprehensive Guide to Using Arthas for Java Application Debugging and Monitoring
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 5, 2022 · Databases

Investigation of DBLE "no handler" Log Entries and MySQL Connection‑Timeout Error Handling

This article investigates why DBLE repeatedly logs "no handler" messages by analyzing DBLE and MySQL logs, using Arthas to trace the call chain, reproducing the scenario with timeout settings, capturing network traffic, and explaining the MySQL 8.0.24 error‑packet behavior that leads to the observed logs.

ArthasBackend DevelopmentDBLE
0 likes · 12 min read
Investigation of DBLE "no handler" Log Entries and MySQL Connection‑Timeout Error Handling
Programmer DD
Programmer DD
Aug 2, 2022 · Operations

Master JVM Debugging with Arthas: Essential Commands and Real‑World Use Cases

Arthas, Alibaba’s open‑source Java diagnostic tool, enables dynamic code tracing, real‑time JVM monitoring, and on‑the‑fly debugging without stopping applications; this guide covers installation, common scenarios, and core commands such as stack, jad, sc, watch, trace, jobs, logger, dashboard, and redefine for effective troubleshooting.

ArthasJVM debuggingJava
0 likes · 16 min read
Master JVM Debugging with Arthas: Essential Commands and Real‑World Use Cases
Code Ape Tech Column
Code Ape Tech Column
Mar 23, 2022 · Operations

Using Arthas to Diagnose High CPU Usage in Java Applications

This tutorial demonstrates how to download, attach, and use the Arthas Java diagnostic tool—leveraging commands like dashboard, thread, jad, watch, and ognl—to quickly locate and fix high CPU problems caused by parallel stream code in a Java application.

ArthasCPU profilingJava
0 likes · 7 min read
Using Arthas to Diagnose High CPU Usage in Java Applications
Architect's Tech Stack
Architect's Tech Stack
Jan 11, 2022 · Backend Development

Diagnosing Redis Connection Pool Blocking in a Spring Boot Application

The article details a week‑long investigation of unresponsive APIs in a sandbox environment, tracing the root cause to Redis connection pool blocking in a Spring Boot service, and presents step‑by‑step debugging, code analysis, configuration fixes, and best‑practice recommendations for proper Redis usage.

ArthasConnection PoolDebugging
0 likes · 9 min read
Diagnosing Redis Connection Pool Blocking in a Spring Boot Application
YunZhu Net Technology Team
YunZhu Net Technology Team
Nov 5, 2021 · Backend Development

Practical Java Performance Optimization: Metrics, Bottleneck Identification, and Governance Strategies

This article shares practical Java performance‑optimization techniques, covering UI and non‑UI latency metrics, baseline data collection, bottleneck discovery with tools like Arthas, chronic issue handling, and a comprehensive set of governance measures ranging from network‑level caching to code‑level refactoring, asynchronous processing, and service splitting to achieve stable sub‑200 ms response times.

ArthasBackendJava
0 likes · 19 min read
Practical Java Performance Optimization: Metrics, Bottleneck Identification, and Governance Strategies
Architect's Alchemy Furnace
Architect's Alchemy Furnace
Sep 11, 2021 · Operations

Mastering Arthas: A Practical Guide to Java Runtime Debugging and Monitoring

This article introduces Arthas, a Java online diagnostic tool, explains its instrumentation‑based runtime principle, guides installation on various platforms, and provides a comprehensive command reference—including basic, system, class, and enhancement commands—for effective debugging, monitoring, and performance analysis of Java applications.

ArthasInstrumentationJava
0 likes · 10 min read
Mastering Arthas: A Practical Guide to Java Runtime Debugging and Monitoring
Java Interview Crash Guide
Java Interview Crash Guide
Aug 13, 2021 · Operations

Master Java Debugging with Arthas: Solve 8 Real‑World Problems

This article introduces Alibaba's open‑source Java diagnostic tool Arthas and demonstrates how to address eight common production issues—including locating class JARs, verifying code changes, online debugging without redeployment, monitoring JVM health, generating flame graphs, and finding class instances—through practical command‑line examples and code snippets.

ArthasJVM MonitoringJava debugging
0 likes · 14 min read
Master Java Debugging with Arthas: Solve 8 Real‑World Problems
Programmer DD
Programmer DD
Jun 23, 2021 · Backend Development

Why Spring Boot APIs Hang: Debugging a Redis Connection Pool Deadlock

A week‑long API freeze in a sandbox environment was traced to Redis connection pool deadlocks caused by missing pool configuration and improper connection handling, and the article walks through the diagnosis with top, jstack, Arthas, and the code changes needed to fix it.

ArthasConnection PoolDebugging
0 likes · 9 min read
Why Spring Boot APIs Hang: Debugging a Redis Connection Pool Deadlock
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2021 · Fundamentals

Understanding Java Object Behavior and Runtime Instrumentation with Instrumentation, BTrace, and Arthas

This article explains how Java object behavior is stored in the JVM method area, explores dynamic bytecode manipulation using java.lang.instrument.Instrumentation, demonstrates practical tracing with BTrace, and introduces Arthas as a user‑friendly diagnostic tool for runtime debugging and monitoring.

ArthasBTraceInstrumentation
0 likes · 14 min read
Understanding Java Object Behavior and Runtime Instrumentation with Instrumentation, BTrace, and Arthas
Alibaba Cloud Native
Alibaba Cloud Native
Apr 10, 2021 · Backend Development

Integrating Arthas with Spring Boot Admin: Live Debugging, JMX Management, and Hot Code Updates

This guide explains how to embed the Arthas Java diagnostic console into Spring Boot Admin, covering project setup, Maven resource configuration, external view linking, custom Spring MVC controllers, Arthas Spring Boot plugin adjustments, and JMX exposure via Spring Actuator, along with practical usage notes and known limitations.

ArthasHot Code UpdateJava Diagnostics
0 likes · 12 min read
Integrating Arthas with Spring Boot Admin: Live Debugging, JMX Management, and Hot Code Updates
Alibaba Cloud Native
Alibaba Cloud Native
Apr 7, 2021 · Operations

How Arthas Hit 25K Stars: A Year of Java Diagnostic Innovations

This article reviews Arthas’s rapid growth to over 25,000 GitHub stars, highlighting its technical advancements, release highlights, community contributions, usage statistics, and future roadmap, while providing code examples and links to its open‑source repositories and documentation.

ArthasJavabytecode
0 likes · 9 min read
How Arthas Hit 25K Stars: A Year of Java Diagnostic Innovations