THE ART AND METHODOLOGY OF TROUBLESHOOTING Alexey Diomin,

Slides:



Advertisements
Similar presentations
Why Have The OSGi Specifications Been Based On Java Technology ? By Peter Kriens, CEO aQute OSGi Technology Officer
Advertisements

Advanced Troubleshooting with Debug Diagnostics on IIS 6
©2011 Check Point Software Technologies Ltd. [PROTECTED] All rights reserved. 3D Security Analysis Report Tool.
Java Virtual Machine Profiling
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Upgrading Best Practices. Type of upgrade Hotfix Security fix Service pack New release.
Keeping our websites running - troubleshooting with Appdynamics Benoit Villaumie Lead Architect Guillaume Postaire Infrastructure Manager.
© 2006 ITT Educational Services Inc. Course Name: IT390 Business Database Administration Unit 10 Slide 1 IT390 Business Database Administration Unit 10:
Memory Leak WEBLOGIC SERVER.  Overview of Java Heap  What is a Memory Leak  Symptoms of Memory Leaks  How to troubleshoot  Tools  Best Practices.
Sandpiper : Black box and Gray-Box resource management for Virtual Machines Journal : Computer Networks: The International Journal of Computer and Telecommunications.
Memory issues in production systems. Production system Restricted access Application, DB, Application server, log files Debugging, monitoring Investigation.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Page 1 © 2001 Hewlett-Packard Company Tools for Measuring System and Application Performance Introduction GlancePlus Introduction Glance Motif Glance Character.
Memory Leak Overview and Tools. AGENDA  Overview of Java Heap  What is a Memory Leak  Symptoms of Memory Leaks  How to troubleshoot  Tools  Best.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
1 Chapter-01 Introduction to Computers and C++ Programming.
Introduction and simple using of Oracle Logistics Information System Yaxian Yao
1. When things go wrong: how to find SQL error Sveta Smirnova Principle Technical Support Engineer, Oracle.
Troubleshooting From the Field – Part 2 SQL DIAG & SQL NEXUS By Ahmad Osama SQL Server Geeks - Editor In Chief and Regional Mentor(Delhi & NCR)
CSCI 6962: Server-side Design and Programming JDBC Database Programming.
Bill Au CBS Interactive Troubleshooting Slow or Hung Java Applications.
Bill Au CBS Interactive Troubleshooting Slow or Hung Java Applications.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Instructor Notes GPU debugging is still immature, but being improved daily. You should definitely check to see the latest options available before giving.
Monitoring and Management Mihail Stoynov mihail.stoynov.com mihail.stoynov.com.
Upgrading to SQL Server 2000 Kashef Mughal. Multiple Versions SQL Server 2000 supports multiple versions of SQL Server on the same machine It does that.
© 2006 IBM Corporation Agile Planning Web UI. © 2006 IBM Corporation Agenda  Overview of APT Web UI  Current Issues  Required Infrastructure  API.
Partners’ Webinar 01/31/2013 Karol Jarkovsky Solution Architect Upgrading Kentico.
1. When things go wrong: how to find SQL error Sveta Smirnova Principle Technical Support Engineer, Oracle.
© 2006, National Research Council Canada © 2006, IBM Corporation Solving performance issues in OTS-based systems Erik Putrycz Software Engineering Group.
Virtual Application Profiler (VAPP) Problem – Increasing hardware complexity – Programmers need to understand interactions between architecture and their.
Java Monitoring Java monitoring using Glassfish, JMX, Glassbox and JConsole by Greg Heithaus.
Code Development for High Performance Servers Topics Multithreaded Servers Event Driven Servers Example - Game Server code (Quake) A parallelization exercise.
Presented by Ted Higgins, SQL Server DBA C Programming - Pointers.
2 Common ASP.NET production issues and how to troubleshoot them with WinDbg Tess Ferrandez - Norlander Support Escalation Engineer Microsoft Session Code:
Troubleshooting Workflow 8 Raymond Cruz, Software Support Engineer.
Hadronic Code Maintenance: Summary John Apostolakis.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
Preface IIntroduction Course Objectives I-2 Oracle Complete Solution I-3 Course Agenda I-4 Tables Used in This Course I-5 The Order Entry Schema I-6 The.
Developing annotation based monitoring framework Fedor Romanov, TomTom.
Java Flight Recorder and Java Mission Control
GlassFish Performance Tuning: Tips from the Field
CheckPoint Accelerated CCSE NGX R65
Flight Recorder in OpenJDK
PerfView Measure and Improve Your App’s Performance for Free
ورود اطلاعات بصورت غيربرخط
java architect lead performance engineer FIS Global @EOstermueller
Java Virtual Machine Profiling. Agenda Introduction JVM overview Performance concepts Monitoring Profiling VisualVM demo Tuning Conclusions.
.Net for Test and Measurement


{

















Presentation transcript:

THE ART AND METHODOLOGY OF TROUBLESHOOTING Alexey Diomin,

Production

Agenda  Logging  Offline analysis  Online analysis

Monitoring  System monitoring  Zabbix  Nagios  Application Monitoring  New Relic  Logstash  Kibana

Zabbix. CPU load example

Zabbix. Memory example

Zabbix. CMS Old Gen

Logstash. Kibana

“We need to go deeper”

 jstack (thread dump)  jstack  kill -QUIT

jstack  Very simple profiler  Lock detection

jstack example

“We need to go deeper”  jstack (thread dump)  jstack  kill -QUIT  jmap  jmap -dump  jmap -histo

jmap  Eclipse Memory Analyzer (MAT)   jvisualvm 

MAT

Leak Detection

RingBuffer

MAT

“We need to go deeper”  jstack (thread dump)  jstack  kill -QUIT  jmap  jmap -dump  jmap -histo  JFR / JMC

JFR

Event Type

JFR Basic features:  Code Profile  Allocation profile

JFR Basic features:  Code Profile  Allocation profile Killer features:  Contentions  Exceptions rate

Code profile

Allocation profile

Netty’s bug example

Contention

Hbase latency

Contentions example

Exceptions rate

Context Switch

Exception example  com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException 1. “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ….” SQL syntax for prepared statements does not support multi-statements (that is, multiple statements within a single string separated by “;” characters). 2. “Can't create more than max_prepared_stmt_count statements” useServerPrepStmts Use server-side prepared statements if the server supports them

useServerPrepStmts

Summary  Logging  Offline analysis  Online analysis

Links  Java Performance: The Definitive Guide   Troubleshooting Guide for Java SE 6 with HotSpot VM  pdf pdf

Black boxes? Not in troubleshooting!!!