ENdoSnipe introduction of diagnosis rules part 1
-
Upload
endosnipe -
Category
Technology
-
view
243 -
download
3
Transcript of ENdoSnipe introduction of diagnosis rules part 1
Introduction of Diagnosis RulesPart 1
Acroquest Technology Co., Ltd.
1. is a diagnosis and monitoring tool for Java program.
2. This document introduces “Three rules to be useful immediately” among several diagnosis rules in .
3. information and data is available from following web siteTry to useI. http://www.endosnipe.com/II. http://github.com/endosnipe/ENdoSnipe
Introduction
2Copyright © Acroquest Technology Co., Ltd. All rights reserved.
Index
1. If memory leak occurred...2. If full scan is performing in SQL...3. HashMap is not used without
synchronization...
Extra1. If you want to see execution plan for SQL...2. If you want to see resources’ changes in long
term...3
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
1. If memory leak occurred ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.4
ENdoSnipe monitors number of components in Collection, and warns when whole-number multiple of threshold is over
Leak detection with same ID(11101e36 in this picture) continues, memory leak occurs almost certainly.
1. If memory leak occurred ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.5
When you see the graph, it is obvious that temporary increasing of the amount of object or successive increasing.
First detection point
Second detecting point
Third detecting point
1. If memory leak occurred ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.6
When you confirm stack trace on the detail screen, suspected point is found immediately.
Let’s look at line number 716 in EmployeeLogicImpl.java which adds elements to HashMap
2. If full scan is performing in SQL ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.7
Character “Full scan” appears in the list of Performance Doctor ...
2. If full scan is performing in SQL ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.8
You can judge whether fix or not at detail screen based on SQL processing time and execution plan.
Yon can configure that SQL is obtained only if execution time is long. You can analyze intensively at slow SQL.
2. If full scan is performing in SQL ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.9
You can get where you need to fix because stack trace appears.
3. HashMap is not used without synchronization ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.10
You need pay attention when this message appeared. Especially, ERROR level is “Catastrophe” certainly.
If you left it ・・・(Go to next page)
3. HashMap is not used without synchronization ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.11
You should use ConcurrentHashMap instead of HashMapYou can know mechanism from below (Japanese) http://www.atmarkit.co.jp/fjava/rensai4/troublehacks10/troublehacks10_1.html
The system has been freezing. CPU utilization is 100%.
Never down
Copyright © Acroquest Technology Co., Ltd. All rights reserved.12
【Extra】
1. If you want to see execution plan for SQL...When you want to see execution plan for SQL, you can operate as follows.
1. Select SQL node in the tree. You can monitor
number of execution and response time of SQL. It is useful enough!
Copyright © Acroquest Technology Co., Ltd. All rights reserved.13
【Extra】
1. If you want to see execution plan for SQL ...
2. Next Select “Plan” tab, you can confirm1. Query (Formatted)
2. Execution plan
3. Stack trace
How helpful is this!!
Copyright © Acroquest Technology Co., Ltd. All rights reserved.14
【Extra】
2. If you want to see resource’s changes in long term ...
Appear at the list to download after waiting a while.
Let’s use reportingfunction.Input target resource and duration.
Copyright © Acroquest Technology Co., Ltd. All rights reserved.15
0
100000000
200000000
300000000
400000000
500000000
600000000
2013/09/19
20:00:01
2013/09/19
20:18:01
2013/09/19
20:36:01
2013/09/19
20:54:01
2013/09/19
21:12:01
2013/09/19
21:30:01
2013/09/19
21:48:10
2013/09/19
22:06:10
2013/09/19
22:24:07
2013/09/19
22:42:11
Max Minimum Average
Open Excel file in the Zip file, you can see graphs of resource’s changes.
【Extra】
2. If you want to see resource’s changes in long term ...
16
20132013 20142014
• Poring PerformanceDoctor
• Porting report export function
• Hadoop/Hbase monitoring
• Linux monitoring
• Apache monitoring
• PostgreSQL/MySQLmonitoring
• PHP/Python/Rubymonitoring
Ver. 5
• Porting ArrowVision
• Porting BottleneckEye
• Enhancement of Linuxmonitoring
• Enhancement of Apachemonitoring
• Enhancement of PostgreSQL/MySQL monitoring
• Enhancement of PHP/Python/Ruby monitoring
Ver. 7Enhanced monitoring target.Performance monitoring to operational environment.
• Outlier detection
• System map
• AWS support
• Add Backend DBMS(SQLite)
Ver. 6
Plan to enhance APM function such as outlier detection. You can start diagnostics and monitoring without configuration.
Plan to enhance monitoring function
【Extra】
3. Roadmap of ENdoSnipe
Contact us
Copyright © Acroquest Technology Co., Ltd. All rights reserved.17
Infrastructures Evolution
ContactAcroquest Technology Co., Ltd.
TEL :+81-(0)45-476-3171 E-Mail:[email protected]