Troubleshooting of Oracle WebLogic with JRockit Mission Control

1,391 views

Published on

Webinar presented by Mike Croft, C2B2 Managed Services Consultant, on the 22nd of November 2012.

In this deep dive webinar C2B2's experienced support engineer will demonstrate how to use JRockit Mission Control to identify problems in production WebLogic applications. We will show you how to detect memory leaks, how to diagnose poor performance through excessive latency and how to identify rogue code consuming too much CPU.

To watch high quality version of this webinar please visit https://www4.gotomeeting.com/register/354160927


1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
1,391
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
43
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide
  • Hi, welcome to this webinar on Mission Control and Weblogic.My aim today is to introduce a little about JRockit’s Mission Control tool and give an overview of how it can be used to troubleshoot common problems with applications on Weblogic.*click*
  • I’ll talk first about other tools that come with JRockit and how they also relate to troubleshooting, then give an outline of the Mission Control tool itself.Once we’re familiar with some of the features available, I’ve listed four related, but distinct, scenarios that Mission Control can help with.I’ll be focussing today on general performance problems and memory issues.To kick us off, though *click*, let’s look at the extra tools that come with JRockit.
  • What utilities are included in JRockit’s JDK?Mission Control!JRCMDCommand-line utility to execute commands against the JRockit JVMJstatLive GC data via the consoleOthers (jps, jhat)Is this any different to the HotSpot JDK?Yes!No JVisualVM – most functionality available in in Mission Control anywayBeware of licensing costs to use Mission Control!
  • Mission Control provides several core functions; the console, flight recorder and “Memleak” which, as the name suggests, helps get to the bottom of memory leaks!Live JVM statisticsGraphs and metrics about local or remote systemsBasic JMX interaction with MbeansThis is rudimentary in comparison to dedicated monitoring tools, but can be useful when you’re just trying to diagnose a problem and might want to capture an intermittent problem.Runtime data The available runtime data is mostly a more in-depth look at live metrics, like memory, CPU and stack trace on specific threadsProfile methods or exceptions and execute commands
  • Shows overall trendThe growth rate of each type (class) is shown, rather than just the percentage of the heap they take up.Stops common classes from showing at the top (like char[] arrays)Visual representation of hot objects in the heap By typeCan see how each class is referenced by other classesBy instanceCan also see how each instance of each class is referenced, meaning you can include only those instances from your application, rather than those instances used by the systemShows where objects are allocatedIn other words, you can see the stack trace for each method holding an instance of the type and what percentage of instances are held by each method.
  • Flight RecorderFormerly JRA recorderThe tool was originally“JRockit Runtime Analyzer”, but since more features have been added, Oracle have rebranded to reflect the upgradesProvides similar data to the Console viewBut with a crucial exception….*click*Historical dataPost-incident investigationReview any periods of poor performance
  • Troubleshooting of Oracle WebLogic with JRockit Mission Control

    1. 1. Troubleshooting Oracle WebLogicwith JRockit Mission Control MIKE CROFT MANAGED SERVICES © C2B2 Consulting Limited 2012 All Rights Reserved
    2. 2. Agenda• JRockit JDK tools• Mission Control• Identifying Problems in Applications• Summary © C2B2 Consulting Limited 2012 All Rights Reserved
    3. 3. Agenda• JRockit JDK tools• Mission Control• Identifying Problems in Applications• Summary © C2B2 Consulting Limited 2012 All Rights Reserved
    4. 4. JRockit JDK Tools• What utilities are included in JRockit’s JDK?• Is this any different to the HotSpot JDK? © C2B2 Consulting Limited 2012 All Rights Reserved
    5. 5. Agenda• JRockit JDK tools• Mission Control• Identifying Problems in Applications• Summary © C2B2 Consulting Limited 2012 All Rights Reserved
    6. 6. Mission ControlConsole• Live JVM statistics• Basic JMX interaction with Mbeans• Runtime data• Profiling © C2B2 Consulting Limited 2012 All Rights Reserved
    7. 7. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    8. 8. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    9. 9. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    10. 10. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    11. 11. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    12. 12. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    13. 13. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    14. 14. Mission ControlMemory Leak Detector• Shows overall trend• Visual representation of hot objects in the heap o By type o By instance• Shows where objects are allocated © C2B2 Consulting Limited 2012 All Rights Reserved
    15. 15. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    16. 16. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    17. 17. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    18. 18. Mission Control © C2B2 Consulting Limited 2012 All Rights Reserved
    19. 19. Mission ControlFlight Recorder• Formerly JRA recorder• Provides similar data to the Console view• Historical data © C2B2 Consulting Limited 2012 All Rights Reserved
    20. 20. Agenda• JRockit JDK tools• Mission Control• Identifying Problems in Applications• Summary © C2B2 Consulting Limited 2012 All Rights Reserved
    21. 21. Identifying Problems in Applications• Detect Memory Leaks• Diagnose Poor Performance• Identify Hot Code• Demo! © C2B2 Consulting Limited 2012 All Rights Reserved
    22. 22. Summary• Mission Control is incredibly versatile• Move to the latest JRockit; R28• See our blog: – blog.c2b2.co.ukThanks for listening! © C2B2 Consulting Limited 2012 All Rights Reserved

    ×