Introduction of Diagnosis Rules
Part 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”...
Index
1. If memory leak occurred...
2. If full scan is performing in SQL...
3. HashMap is not used without
synchronization...
1. If memory leak occurred ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
4
ENdoSnipe monitors number...
1. If memory leak occurred ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
5
When you see the graph, i...
1. If memory leak occurred ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
6
When you confirm stack tr...
2. If full scan is performing in SQL ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
7
Character “Full...
2. If full scan is performing in SQL ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
8
You can judge w...
2. If full scan is performing in SQL ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
9
You can get whe...
3. HashMap is not used without synchronization ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
10
You ...
3. HashMap is not used without synchronization ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
11
You ...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
12
【Extra】
1. If you want to see execution plan for SQL......
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
13
【Extra】
1. If you want to see execution plan for SQL .....
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
14
【Extra】
2. If you want to see resource’s changes in lon...
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
15
0
100000000
200000000
300000000
400000000
500000000
600...
16
20132013 20142014
• Poring PerformanceDoctor
• Porting report export
function
• Hadoop/Hbase monitoring
• Linux monitor...
Contact us
Copyright © Acroquest Technology Co., Ltd. All rights reserved.
17
Infrastructures Evolution
Contact
Acroquest ...
Upcoming SlideShare
Loading in …5
×

ENdoSnipe introduction of diagnosis rules part 1

681 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
681
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ENdoSnipe introduction of diagnosis rules part 1

  1. 1. Introduction of Diagnosis Rules Part 1 Acroquest Technology Co., Ltd.
  2. 2. 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 site Try to use I. http://www.endosnipe.com/ II. http://github.com/endosnipe/ENdoSnipe Introduction 2 Copyright © Acroquest Technology Co., Ltd. All rights reserved.
  3. 3. Index 1. If memory leak occurred... 2. If full scan is performing in SQL... 3. HashMap is not used without synchronization... Extra 1. 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.
  4. 4. 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.
  5. 5. 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
  6. 6. 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
  7. 7. 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 ...
  8. 8. 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.
  9. 9. 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.
  10. 10. 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)
  11. 11. 3. HashMap is not used without synchronization ... Copyright © Acroquest Technology Co., Ltd. All rights reserved. 11 You should use ConcurrentHashMap instead of HashMap You 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
  12. 12. 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!
  13. 13. 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 confirm 1. Query (Formatted) 2. Execution plan 3. Stack trace How helpful is this!!
  14. 14. 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 reporting function. Input target resource and duration.
  15. 15. 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. 16. 16 20132013 20142014 • Poring PerformanceDoctor • Porting report export function • Hadoop/Hbase monitoring • Linux monitoring • Apache monitoring • PostgreSQL/MySQL monitoring • PHP/Python/Ruby monitoring Ver. 5 • Porting ArrowVision • Porting BottleneckEye • Enhancement of Linux monitoring • Enhancement of Apache monitoring • Enhancement of PostgreSQL/MySQL monitoring • Enhancement of PHP/Python/Ruby monitoring Ver. 7 Enhanced 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
  17. 17. Contact us Copyright © Acroquest Technology Co., Ltd. All rights reserved. 17 Infrastructures Evolution Contact Acroquest Technology Co., Ltd. TEL :+81-(0)45-476-3171 E-Mail:endosnipe@acroquest.co.jp

×