Monitoring NonStop Server for Java memory

Size: px
Start display at page:

Download "Monitoring NonStop Server for Java memory"

Transcription

1 Monitoring NonStop Server for Java memory Roland Lemoine HP GNSC November 16, 2015

2 Agenda NonStop JVM native memory usage Java heap layout and garbage collection refresh Out of Memory! Which one? Many tools available, which one should I use? Data to be captured Viewers Conclusion Appendix A: Version matrix 2

3 NonStop JVM native memory usage 3

4 NonStop JVM native memory usage NSJ 6 JVM native memory usage Within the 2 GB address space of the JVM most space is used by three competing areas: The native heap which includes the Java heap as well as native objects such as threads, etc. QIO, which may not be there if the Java code is not using any socket API or if it has been moved to KSEG2. Its size (by default 512Mb) may also be reduced and its start address changed. Flat segments may use a significant amount of space if the JVM is also a SQL/MX executor as it is the case when using the JDBC type 2 driver. 4

5 NonStop JVM native memory usage NSJ 7 32 bit JVM native memory usage In NSJ 7, two changes occurred. There is a dedicated space (a 256Mb flat segment) for those Java native objects called the JVM heap. Not to confuse with the Java heap and not to confuse with the JVM native heap. The Java heap and PermGen moved out of the Native heap into a flat segment as well. 5

6 NonStop JVM native memory usage Default max NSJ 7 Java heap in 32 bit, using QIO, PRIOR TO NSJ 7 update 1 is up to 124Mb: 6

7 NonStop JVM native memory usage Default max NSJ 7 Java heap in 32 bit, using QIO, with NSJ 7 update 1 is up to 316Mb: 7

8 NonStop JVM native memory usage NSJ 7 64 bit JVM native memory usage In 64 bit mode, the Java heap limit is lifted. 8

9 Java heap layout and garbage collection refresh 9

10 Java Heap layout and garbage collection refresh 10

11 Out of memory! Which one? 11

12 Out of memory! Which one? Java Heap and PermGen errors java.lang.outofmemoryerror: Java heap space java.lang.outofmemoryerror: PermGen space Java Heap and PermGen errors java.lang.outofmemoryerror: requested xxx bytes for Chunk::new. Out of swap space? java.lang.outofmemoryerror: requested <number> bytes for ChunkPool::allocate Exception in thread "CompileThread0" java.lang.outofmemoryerror: requested bytes Thread creation failed: Insufficient user memory 12

13 Selecting the appropriate options and tools 13

14 Selecting the appropriate options and tools Data to be captured: Garbage Collection data Heap dump using kill -3 (SIGQUIT) -verbosegc option -Xloggc option -Xverbosegc option Xverbosegc using kill -14 (SIGALRM) Data to be captured: Profiling data -agentlib:hprof -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak -XX:+HeapDump -XX:+PrintAllocStatistics -Xeprof Xeprof using kill -17 (SIGUSR2) 14

15 Data to be captured 15

16 Data to be captured Heap snapshot option: kill -3 <JVM PID> (or kill s QUIT <JVM PID>) Heap snapshot example: Output on JVM stdout 16

17 Data to be captured -verbosegc option of the JVM A minor GC where the GC freed about 500 Kbytes out of a total of 12 MB of heap: [GC 3328K->2854K(11904K), secs] A Full GC where the Full GC freed about 800 Kbytes out of 13 MB of heap: [Full GC 9508K->8740K(12928K), secs] Heap before GC Heap After GC Output on JVM stdout 17

18 Data to be captured -Xloggc 0.590: [GC 896K->278K(5056K), secs] 0.906: [GC 1174K->774K(5056K), secs] Timestamp Output on JVM stdout or named file 18

19 Data to be captured -Xverbosegc Log example: <GC: > <GC: > <GC: > <GC: >] Eden before and after GC Old Gen before and after GC Output on JVM stdout, or per PID named file 19

20 Data to be captured -Xverbosegc 1 Type of GC: 1: Scavenge (GC of New Generation only) 2: Old Generation GC or a Full GC 3: Complete background CMS GC 4: Incomplete background CMS GC 11: Ongoing CMS GC 2 Additional information based on GC type in field 1. 3 Program time at the beginning of the GC, in seconds. 4 GC invocation. Counts of background CMS GCs and other GCs are maintained separately. 5 Size of the object allocation request that forced the GC, in bytes. 6 Tenuring threshold determines how long the newborn object remains in the New Generation. 7 Eden Sub-space (within the New Generation) occupied before GC. 8 Eden Sub-space (within the New Generation) occupied after GC. 9 Eden Sub-space (within the New Generation) current capacity. 10 Survivor Sub-space (within the New Generation) occupied before GC. 11 Survivor Sub-space (within the New Generation) occupied after GC. 12 Survivor Sub-space (within the New Generation) current capacity. 13 Old Generation occupied before GC. 14 Old Generation occupied after GC. 15 Old Generation current capacity. 16 Permanent Generation (storage of Reflective Objects) occupied before GC. 17 Permanent Generation (storage of Reflective Objects) occupied after GC. 20

21 Data to be captured Zero-Preparation Xverbosegc : kill -14 <JVM PID> (or kill s ALRM <JVM PID>) NO JVM restart Output by default in java_<pid>.vgc 21

22 Data to be captured -agentlib:hprof java -agentlib:hprof=heap=sites <class> Generates ASCII file java.hprof.txt at program exit or when sending kill -3 <JVM PID>. Contains Objects created by method, Created Objects count and bytes java -agentlib:hprof=heap=dump <class> A lot more information is captured here (Several hundred Mb for a 64Mb java heap!) however allocation sites are not. Output by default in java.hprof.txt 22

23 Data to be captured XX:+HeapDumpOnOutOfMemoryError $ java -XX:+HeapDumpOnOutOfMemoryError MemLeak java.lang.outofmemoryerror: Java heap space Dumping heap to java_pid hprof... Heap dump file created [ bytes in secs] Exception in thread "main" java.lang.outofmemoryerror: Java heap space at java.util.hashtable.rehash(hashtable.java:428) at java.util.hashtable.put(hashtable.java:500) at MemLeak.main(MemLeak.java:17) Can also be enabled using JMX Output by default in java_pid<pid>.hprof 23

24 Data to be captured XX:+HeapDumpOnCtrlBreak Output by default in java_<pid>.hprof.militime XX:+HeapDump or _JAVA_HEAPDUMP=1 Output by default in java_<pid>_<date>_<time> _heapdump.hprof.txt 24

25 Data to be captured XX: +PrintAllocStatistics (Not supported on NonStop currently) Output by default on stdout or in java_<pid>.vgc when using kill

26 Data to be captured Xeprof Zero-Preparation Xeprof : kill -17 <JVM PID> (or kill s USR2 <JVM PID>) Output by default in java<pid>_<time>.eprof 26

27 Viewers 27

28 Viewers: HPjmeter Hpjmeter accepts: hprof eprof -Xverbosegc -Xloggc -XX:+HeapDump -XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnly -XX:+PrintAllocStatistics 28

29 Viewers: HPjmeter Note: When looking at hprof data, hprof data analysis may quickly exhaust HPJmeter default Java heap size of 512Mb depending on which metrics you look at. To Increase HPjmeter Java heap: cd C:\Program Files (x86)\hpjmeter\bin hpjmeter -Xmx1240m (with a 32bit jvm) But better would be: hpjmeter -Xmx4g with a 64bit jdk However, looking at Xverbosegc data or -XX:+PrintAllocStatistics does not require such a large heap. 29

30 Viewers: HPjmeter 30

31 Viewers: Hpjmeter connected to live JVMs Documentation: NonStop Server for Java 6.0 Programmer s reference: Chapter 6: Application profiling or NonStop Server for Java 7.0 Programmer s reference : Chapter 7: Application Tuning and profiling ; HPJmeter release notes and installation user guide ; HPjmeter 4.3 user s guide Installation: On the server side, the HPjmeter agents are shipped on the NSJ 6.0 or 7.0 product CD (product T0866H31). If not already extracted in /usr/tandem/hpjmeter, extract the pax file: pax rvf t0866pax A nodeagent process needs to be started: export JMETER_HOME=/usr/tandem/hpjmeter/ $JMETER_HOME/bin/nodeagent Setup application monitoring: The application being monitored must be started with the following option: -agentlib:jmeter and requires the following environment variable(s): In Java 6: export _RLD_LIB_PATH=$_RLD_LIB_PATH :$JMETER_HOME/lib/oss/ In Java 7: export _RLD_LIB_PATH=$JMETER_HOME/lib/oss32/(if 32-bit version of Java) export _RLD_LIB_PATH=$JMETER_HOME/lib/oss64/(if 64-bit version of Java) Unlike JMX no need to have one port per JVM that you want to monitor. 31

32 Viewers: Hpjmeter connected to live JVMs Dynamic attach feature now available: When used with: - HPjmeter 4.3 ( Server side T0866H31^AAD + Hpjmeter Console >= 4.3) - NS/Java 7 update 1 (T2766H70^ACJ or T2766H60^ACH) Add the following entry in /usr/tandem/hpjmeter/config/hpjmeter.conf JM_JAVA_HOME=/usr/tandem/nssjava/jdk170_h70 At this point there is no need to add -agentlib:jmeter to your application to be monitored anymore therefore no need for another JVM restart for each application server. 32

33 Viewers: HPjmeter 33

34 Viewers: HPjmeter 34

35 Viewers: Jconsole Add the following options to the JVM to be monitored: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8888 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false Or if using a port range: -Dcom.sun.management.jmxremote.port= Connect the jconsole GUI to the target JVM using the IP address and the jmx port. 35

36 Viewers: Jconsole 36

37 Viewers: Jconsole Mbeans tab HeapDumpOnOutOfMemoryError setvmoption 37

38 Viewers: Java VisualVM 38

39 Viewers: Java Heap Analysis tool (Jhat) 39

40 Viewers: Eclipse Memory Analyzer (MAT) 40

41 Viewers: Eclipse Memory Analyzer (MAT) 41

42 Take Away If the JVM is already running without any specific options, Zero-Preparation options allow you to trigger data capture without having to restart the JVM HPJmeter, provided for free by HP, is perfectly adapted to monitor multiple JVMs in a Pathway environment and is the only option for versions prior to NSJ H60^ACF where the JMX interface would be limited to use only when NUMSTATIC is 1. JMX provides out-of-the-box access to the JVM using various industry tools and allowing Java monitoring without HP NonStop platform specific knowledge. 42

43 Take Away In the specific task of identifying the root cause of memory leaks, hprof profiling data including site allocations appears to be the best option, while eprof profiling data is not useful for memory tuning specifically. Log file auto-naming, including the JVM PID also proves to be a practical feature in environments like HP NonStop where multiple JVMs are executing and sharing the same JVM arguments list. Hpjmeter 4.3 and NS/Java 7 update 1 provide a dynamic attach feature which allows to connect to a JVM without any downtime and without requiring configuration changes. 43

44 Appendix: Java memory monitoring matrix JVM stop Output Description Available since Garbage Collection data kill -3 <PID> No text on stdout Heap snapshot Jdk 1.2 -verbose:gc Yes text on stdout Garbage collection log Jdk 1.2 -Xloggc Yes text on stdout or file Garbage collection log, HP specific, can be fed to HPJmeter NSJ 1.2 -Xverbosegc Yes text on stdout or file Garbage collection log, HP specific, can be fed to HPJmeter NSJ 1.2 kill -14 <PID> (aka zero-preparation Xverbosegc) No Text on file Same output as Xverbosegc. File name auto-generated java_<pid>.vgc NSJ 6.0 ABP Profiling data -agentlib:hprof=heap=sites -agentlib:hprof=heap=dump Yes Text or binary in.hprof file. Industry standard profiling data (HPJmeter, JVisualVM, Jhat, Eclipse MAT). Provides memory leak root cause when capturing heap sites. NSJ 5 ( runhprof previously) -XX:+HeapDumpOnOutOfMemoryError Yes binary Heap dump captured in java_pid<pid>.hprof when OutOfMemoryError occurs NSJ 6 -XX:+HeapDumpOnCtrlBreak Yes binary Kill -3 generates hprof heap=dump NSJ 6 -XX:+HeapDump /_JAVA_HEAPDUMP=1 Yes Text by default Kill -3 generates thread dump on stdout and hprof in NSJ 5.1 java_<pid>_<date>_<time>_heapdump.hprof.txt -XX:+PrintAllocStatistics Yes Text on stdout or.vgc file kill -14 will generate site statistics and ALSO turn off/on -Xverbosegc NSJ 6.0 ABP -Xeprof -Xeprof:file=<name>.eprof Yes Not best for memory tuning. Generates <name><pid>.eprof kill -17 <PID> (zero-preparation eprof) No Text in.eprof file Not best for memory tuning. First signal starts profiling, second writes to java_<pid>_nn.eprof NSJ 5.1 Tools HPJmeter May GUI Accepts hprof, eprof and gc data or works connected when used with Server side T0866 node agent. NSJ 5.1 NSJ 6.0 ABR nsjps -h No OSS stdout List the *native* heap usage NSJ 6.0 ABP jconsole No GUI Uses JMX NSJ 6.0 ACF Jvisualvm No GUI Based on JMX or hprof data. NSJ 6.0 ACF Jhat No HTML Based on hprof data Jdk 1.6 Eclipse MAT No GUI Based on hprof data NSJ 5 44

45 Thank you 45

Java Troubleshooting and Performance

Java Troubleshooting and Performance Java Troubleshooting and Performance Margus Pala Java Fundamentals 08.12.2014 Agenda Debugger Thread dumps Memory dumps Crash dumps Tools/profilers Rules of (performance) optimization 1. Don't optimize

More information

Garbage Collection in NonStop Server for Java

Garbage Collection in NonStop Server for Java Garbage Collection in NonStop Server for Java Technical white paper Table of contents 1. Introduction... 2 2. Garbage Collection Concepts... 2 3. Garbage Collection in NSJ... 3 4. NSJ Garbage Collection

More information

How To Improve Performance On An Asa 9.4 Web Application Server (For Advanced Users)

How To Improve Performance On An Asa 9.4 Web Application Server (For Advanced Users) Paper SAS315-2014 SAS 9.4 Web Application Performance: Monitoring, Tuning, Scaling, and Troubleshooting Rob Sioss, SAS Institute Inc., Cary, NC ABSTRACT SAS 9.4 introduces several new software products

More information

TDA - Thread Dump Analyzer

TDA - Thread Dump Analyzer TDA - Thread Dump Analyzer TDA - Thread Dump Analyzer Published September, 2008 Copyright 2006-2008 Ingo Rockel Table of Contents 1.... 1 1.1. Request Thread Dumps... 2 1.2. Thread

More information

THE BUSY DEVELOPER'S GUIDE TO JVM TROUBLESHOOTING

THE BUSY DEVELOPER'S GUIDE TO JVM TROUBLESHOOTING THE BUSY DEVELOPER'S GUIDE TO JVM TROUBLESHOOTING November 5, 2010 Rohit Kelapure HTTP://WWW.LINKEDIN.COM/IN/ROHITKELAPURE HTTP://TWITTER.COM/RKELA Agenda 2 Application Server component overview Support

More information

2 2011 Oracle Corporation Proprietary and Confidential

2 2011 Oracle Corporation Proprietary and Confidential The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material,

More information

VisualVM: Integrated and Extensible Troubleshooting Tool for the Java Platform

VisualVM: Integrated and Extensible Troubleshooting Tool for the Java Platform VisualVM: Integrated and Extensible Troubleshooting Tool for the Java Platform Tomáš Hůrka, Sun Microsystems Inc. Luis-Miguel Alventosa, Sun Microsystems Inc. BOF-5223 Introduce VisualVM - new tool that

More information

Java Debugging Ľuboš Koščo

Java Debugging Ľuboš Koščo Java Debugging Ľuboš Koščo Solaris RPE Prague Agenda Debugging - the core of solving problems with your application Methodologies and useful processes, best practices Introduction to debugging tools >

More information

Tuning WebSphere Application Server ND 7.0. Royal Cyber Inc.

Tuning WebSphere Application Server ND 7.0. Royal Cyber Inc. Tuning WebSphere Application Server ND 7.0 Royal Cyber Inc. JVM related problems Application server stops responding Server crash Hung process Out of memory condition Performance degradation Check if the

More information

How to use IBM HeapAnalyzer to diagnose Java heap issues

How to use IBM HeapAnalyzer to diagnose Java heap issues IBM Software Group How to use IBM HeapAnalyzer to diagnose Java heap issues Jinwoo Hwang (jinwoo@us.ibm.com) IBM HeapAnalyzer Architect/Developer WebSphere Support Technical Exchange Introduction Java

More information

Deploying a Logi Info Application on WAS

Deploying a Logi Info Application on WAS Deploying a Logi Info Application on WAS Updated 30 April 2015 These instructions apply to WAS 7.x and WAS 8.x, for use with Logi Info and JDK 1.6 or 7.x. WAS versions earlier than 7.0 cannot be used with

More information

HP NonStop JDBC Type 4 Driver Performance Tuning Guide for Version 1.0

HP NonStop JDBC Type 4 Driver Performance Tuning Guide for Version 1.0 HP NonStop JDBC Type 4 Driver November 22, 2004 Author: Ken Sell 1 Introduction Java applications and application environments continue to play an important role in software system development. Database

More information

Troubleshoot the JVM like never before. JVM Troubleshooting Guide. Pierre-Hugues Charbonneau Ilias Tsagklis

Troubleshoot the JVM like never before. JVM Troubleshooting Guide. Pierre-Hugues Charbonneau Ilias Tsagklis Troubleshoot the JVM like never before JVM Troubleshooting Guide Pierre-Hugues Charbonneau Ilias Tsagklis Table of Contents Oracle HotSpot JVM Memory...3 Java HotSpot VM Heap space...3 Java HotSpot VM

More information

Robert Honeyman http://www.honeymanit.co.uk rob.honeyman@honeymanit.co.uk

Robert Honeyman http://www.honeymanit.co.uk rob.honeyman@honeymanit.co.uk An Introduction to WebLogic Administration Robert Honeyman http://www.honeymanit.co.uk rob.honeyman@honeymanit.co.uk WEBLOGIC 11G : WHAT IS IT? Weblogic 10.3.3-10.3.6 = 11g Java EE 5 compliant Application

More information

Monitoring HP OO 10. Overview. Available Tools. HP OO Community Guides

Monitoring HP OO 10. Overview. Available Tools. HP OO Community Guides HP OO Community Guides Monitoring HP OO 10 This document describes the specifications of components we want to monitor, and the means to monitor them, in order to achieve effective monitoring of HP Operations

More information

Java Performance Tuning

Java Performance Tuning Summer 08 Java Performance Tuning Michael Finocchiaro This white paper presents the basics of Java Performance Tuning for large Application Servers. h t t p : / / m f i n o c c h i a r o. w o r d p r e

More information

Tools in the Box. Quick overview on helpful tools in the JDK and use cases for them. Florin Bunau dev@tora

Tools in the Box. Quick overview on helpful tools in the JDK and use cases for them. Florin Bunau dev@tora Tools in the Box Quick overview on helpful tools in the JDK and use cases for them. Florin Bunau dev@tora http://docs.oracle.com/javase/7/docs/technotes/tools/ - No new tool in Java 7, very few changes

More information

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013 Simba XMLA Provider for Oracle OLAP 2.0 April 23, 2013 Simba Technologies Inc. Copyright 2013 Simba Technologies Inc. All Rights Reserved. Information in this document is subject to change without notice.

More information

IBM Support Assistant v5. Review and hands-on by Joseph

IBM Support Assistant v5. Review and hands-on by Joseph IBM Support Assistant v5 Review and hands-on by Joseph What's new in v5 This new version is built on top of WebSphere application server community edition. It gives more flexible configurations Intuitive

More information

HeapStats: Your Dependable Helper for Java Applications, from Development to Operation

HeapStats: Your Dependable Helper for Java Applications, from Development to Operation : Technologies for Promoting Use of Open Source Software that Contribute to Reducing TCO of IT Platform HeapStats: Your Dependable Helper for Java Applications, from Development to Operation Shinji Takao,

More information

Java Monitoring. Stuff You Can Get For Free (And Stuff You Can t) Paul Jasek Sales Engineer

Java Monitoring. Stuff You Can Get For Free (And Stuff You Can t) Paul Jasek Sales Engineer Java Monitoring Stuff You Can Get For Free (And Stuff You Can t) Paul Jasek Sales Engineer A Bit About Me Current: Past: Pre-Sales Engineer (1997 present) WaveMaker Wily Persistence GemStone Application

More information

Effective Java Programming. measurement as the basis

Effective Java Programming. measurement as the basis Effective Java Programming measurement as the basis Structure measurement as the basis benchmarking micro macro profiling why you should do this? profiling tools Motto "We should forget about small efficiencies,

More information

WEBLOGIC ADMINISTRATION

WEBLOGIC ADMINISTRATION WEBLOGIC ADMINISTRATION Session 1: Introduction Oracle Weblogic Server Components Java SDK and Java Enterprise Edition Application Servers & Web Servers Documentation Session 2: Installation System Configuration

More information

WebSphere Performance Monitoring & Tuning For Webtop Version 5.3 on WebSphere 5.1.x

WebSphere Performance Monitoring & Tuning For Webtop Version 5.3 on WebSphere 5.1.x Frequently Asked Questions WebSphere Performance Monitoring & Tuning For Webtop Version 5.3 on WebSphere 5.1.x FAQ Version 1.0 External FAQ1. Q. How do I monitor Webtop performance in WebSphere? 1 Enabling

More information

WebSphere Server Administration Course

WebSphere Server Administration Course WebSphere Server Administration Course Chapter 1. Java EE and WebSphere Overview Goals of Enterprise Applications What is Java? What is Java EE? The Java EE Specifications Role of Application Server What

More information

Using jvmstat and visualgc to Solve Memory Management Problems

Using jvmstat and visualgc to Solve Memory Management Problems Using jvmstat and visualgc to Solve Memory Management Problems java.sun.com/javaone/sf 1 Wally Wedel Sun Software Services Brian Doherty Sun Microsystems, Inc. Analyze JVM Machine Memory Management Problems

More information

IBM WebSphere Server Administration

IBM WebSphere Server Administration IBM WebSphere Server Administration This course teaches the administration and deployment of web applications in the IBM WebSphere Application Server. Duration 24 hours Course Objectives Upon completion

More information

Memory Management for Android Apps Patrick Dubroy (dubroy.com @dubroy) May 11, 2011

Memory Management for Android Apps Patrick Dubroy (dubroy.com @dubroy) May 11, 2011 Memory Management for Android Apps Patrick Dubroy (dubroy.com @dubroy) May 11, 2011 3 192MB RAM 4 1GB RAM Xoom 1280x800 G1 320x480 5 6 Software Work expands to fill the time available. memory 7 Overview

More information

Production time profiling On-Demand with Java Flight Recorder

Production time profiling On-Demand with Java Flight Recorder Production time profiling On-Demand with Java Flight Recorder Using Java Mission Control & Java Flight Recorder Klara Ward Principal Software Developer Java Platform Group, Oracle Copyright 2015, Oracle

More information

CSE 403. Performance Profiling Marty Stepp

CSE 403. Performance Profiling Marty Stepp CSE 403 Performance Profiling Marty Stepp 1 How can we optimize it? public static String makestring() { String str = ""; for (int n = 0; n < REPS; n++) { str += "more"; } return str; } 2 How can we optimize

More information

Oracle JRockit Mission Control Overview

Oracle JRockit Mission Control Overview Oracle JRockit Mission Control Overview An Oracle White Paper June 2008 JROCKIT Oracle JRockit Mission Control Overview Oracle JRockit Mission Control Overview...3 Introduction...3 Non-intrusive profiling

More information

Tool - 1: Health Center

Tool - 1: Health Center Tool - 1: Health Center Joseph Amrith Raj http://facebook.com/webspherelibrary 2 Tool - 1: Health Center Table of Contents WebSphere Application Server Troubleshooting... Error! Bookmark not defined. About

More information

An Oracle White Paper September 2013. Advanced Java Diagnostics and Monitoring Without Performance Overhead

An Oracle White Paper September 2013. Advanced Java Diagnostics and Monitoring Without Performance Overhead An Oracle White Paper September 2013 Advanced Java Diagnostics and Monitoring Without Performance Overhead Introduction... 1 Non-Intrusive Profiling and Diagnostics... 2 JMX Console... 2 Java Flight Recorder...

More information

J2EE-JAVA SYSTEM MONITORING (Wily introscope)

J2EE-JAVA SYSTEM MONITORING (Wily introscope) J2EE-JAVA SYSTEM MONITORING (Wily introscope) Purpose: To describe a procedure for java system monitoring through SAP certified third party tool Wily introscope. Scope: (Assumption) This procedure is applicable

More information

Java VM monitoring and the Health Center API. William Smith will.smith@uk.ibm.com

Java VM monitoring and the Health Center API. William Smith will.smith@uk.ibm.com Java VM monitoring and the Health Center API William Smith will.smith@uk.ibm.com Health Center overview What problem am I solving? What is my JVM doing? Is everything OK? Why is my application running

More information

Angelika Langer www.angelikalanger.com. The Art of Garbage Collection Tuning

Angelika Langer www.angelikalanger.com. The Art of Garbage Collection Tuning Angelika Langer www.angelikalanger.com The Art of Garbage Collection Tuning objective discuss garbage collection algorithms in Sun/Oracle's JVM give brief overview of GC tuning strategies GC tuning (2)

More information

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS Java EE Components Java EE Vendor Specifications Containers Java EE Blueprint Services JDBC Data Sources Java Naming and Directory Interface Java Message

More information

All The Leaves Aren t Brown

All The Leaves Aren t Brown All The Leaves Aren t Brown Many Ways to Profile Your Application Code Chuck Ezell Senior Applications Tuner, datavail Agenda Value in Profiling: the When, What & Why Profiling & Profilers: the right tool

More information

This document provides information for tuning the WebServer and NSJSP products on NonStop servers and consists of the following sections:

This document provides information for tuning the WebServer and NSJSP products on NonStop servers and consists of the following sections: Tuning Guide for itp Secure WebServer and NonStop Servlets for JavaServer Pages (NSJSP) on HP NonStop Servers Authors: Neilson Lee, Yi-Tsung Cheng & Ram Ranganathan 12 th October 2004 Introduction The

More information

What s Cool in the SAP JVM (CON3243)

What s Cool in the SAP JVM (CON3243) What s Cool in the SAP JVM (CON3243) Volker Simonis, SAP SE September, 2014 Public Agenda SAP JVM Supportability SAP JVM Profiler SAP JVM Debugger 2014 SAP SE. All rights reserved. Public 2 SAP JVM SAP

More information

Advanced Liferay Architecture: Clustering and High Availability

Advanced Liferay Architecture: Clustering and High Availability Advanced Liferay Architecture: Clustering and High Availability Revision 1.1, Oct 2010 *Note: All of the configuration examples in 3 rd -party software (i.e. Apache, Sun Java) in this document are examples

More information

A technical guide for monitoring Adobe LiveCycle ES deployments

A technical guide for monitoring Adobe LiveCycle ES deployments Technical Guide A technical guide for monitoring Adobe LiveCycle ES deployments Table of contents 1 Section 1: LiveCycle ES system monitoring 4 Section 2: Internal LiveCycle ES monitoring 5 Section 3:

More information

System Requirements Table of contents

System Requirements Table of contents Table of contents 1 Introduction... 2 2 Knoa Agent... 2 2.1 System Requirements...2 2.2 Environment Requirements...4 3 Knoa Server Architecture...4 3.1 Knoa Server Components... 4 3.2 Server Hardware Setup...5

More information

Oracle WebLogic Server 11g Administration

Oracle WebLogic Server 11g Administration Oracle WebLogic Server 11g Administration This course is designed to provide instruction and hands-on practice in installing and configuring Oracle WebLogic Server 11g. These tasks include starting and

More information

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5 Course Page - Page 1 of 5 WebSphere Application Server 7.0 Administration on Windows BSP-1700 Length: 5 days Price: $ 2,895.00 Course Description This course teaches the basics of the administration and

More information

Memory Management in the Java HotSpot Virtual Machine

Memory Management in the Java HotSpot Virtual Machine Memory Management in the Java HotSpot Virtual Machine Sun Microsystems April 2006 2 Table of Contents Table of Contents 1 Introduction.....................................................................

More information

How To Use Java On An Ipa 2.2.2 (Jspa) With A Microsoft Powerbook (Jempa) With An Ipad 2.3.2 And A Microos 2.5 (Microos)

How To Use Java On An Ipa 2.2.2 (Jspa) With A Microsoft Powerbook (Jempa) With An Ipad 2.3.2 And A Microos 2.5 (Microos) Java Monitoring and Diagnostic Tooling Iris Baron IBM Java JIT on System Z ibaron@ca.ibm.com Session ID: 16182 Insert Custom Session QR if Desired. Java Road Map Java 7.0 Language Updates Java 6.0 SE 5.0

More information

Rational Application Developer Performance Tips Introduction

Rational Application Developer Performance Tips Introduction Rational Application Developer Performance Tips Introduction This article contains a series of hints and tips that you can use to improve the performance of the Rational Application Developer. This article

More information

WAS Performance on i5/os. Lisa Wellman peace@us.ibm.com May 2010

WAS Performance on i5/os. Lisa Wellman peace@us.ibm.com May 2010 WAS Performance on i5/os Lisa Wellman peace@us.ibm.com May 2010 A simplified view: major WAS functions widely used Administered Java runtime environment HTTP request routing Web container Web thread pool

More information

Solutions for detect, diagnose and resolve performance problems in J2EE applications

Solutions for detect, diagnose and resolve performance problems in J2EE applications IX Konferencja PLOUG Koœcielisko PaŸdziernik 2003 Solutions for detect, diagnose and resolve performance problems in J2EE applications Cristian Maties Quest Software Custom-developed J2EE applications

More information

High-Availability. Configurations for Liferay Portal. James Min. Senior Consultant / Sales Engineer, Liferay, Inc.

High-Availability. Configurations for Liferay Portal. James Min. Senior Consultant / Sales Engineer, Liferay, Inc. High-Availability Configurations for Liferay Portal James Min Senior Consultant / Sales Engineer, Liferay, Inc. Is Clustering Enough? What Liferay High-Availability (HA) means: HA is more than just server

More information

IBM Software Group. SW5706 JVM Tools. 2007 IBM Corporation 4.0. This presentation will act as an introduction to JVM tools.

IBM Software Group. SW5706 JVM Tools. 2007 IBM Corporation 4.0. This presentation will act as an introduction to JVM tools. SW5706 JVM Tools This presentation will act as an introduction to. 4.0 Page 1 of 15 for tuning and problem detection After completing this topic, you should be able to: Describe the main tools used for

More information

Manage and Monitor your JVM with JMX

Manage and Monitor your JVM with JMX Manage and Monitor your JVM with JMX Christopher M. Judd Christopher M. Judd CTO and Partner at leader Columbus Developer User Group (CIDUG) JMX JMX Java Management Extensions (JMX) is a Java technology

More information

Practical Performance Understanding the Performance of Your Application

Practical Performance Understanding the Performance of Your Application Neil Masson IBM Java Service Technical Lead 25 th September 2012 Practical Performance Understanding the Performance of Your Application 1 WebSphere User Group: Practical Performance Understand the Performance

More information

L01: Using the WebSphere Application Server Liberty Profile for lightweight, rapid development. Lab Exercise

L01: Using the WebSphere Application Server Liberty Profile for lightweight, rapid development. Lab Exercise L01: Using the WebSphere Application Server Liberty Profile for lightweight, rapid development Lab Exercise Copyright IBM Corporation, 2012 US Government Users Restricted Rights - Use, duplication or disclosure

More information

Java Mission Control

Java Mission Control Java Mission Control Harald Bräuning Resources Main Resource: Java Mission Control Tutorial by Marcus Hirt http://hirt.se/downloads/oracle/jmc_tutorial.zip includes sample projects! Local copy: /common/fesa/jmcexamples/jmc_tutorial.zip

More information

Configuring and Integrating JMX

Configuring and Integrating JMX Configuring and Integrating JMX The Basics of JMX 3 JConsole 3 Adding a JMX Component Monitor to SAM 6 This document includes basic information about JMX and its role with SolarWinds SAM 2 Configuring

More information

Extreme Performance with Java

Extreme Performance with Java Extreme Performance with Java QCon NYC - June 2012 Charlie Hunt Architect, Performance Engineering Salesforce.com sfdc_ppt_corp_template_01_01_2012.ppt In a Nutshell What you need to know about a modern

More information

Server Monitoring. AppDynamics Pro Documentation. Version 4.1.7. Page 1

Server Monitoring. AppDynamics Pro Documentation. Version 4.1.7. Page 1 Server Monitoring AppDynamics Pro Documentation Version 4.1.7 Page 1 Server Monitoring......................................................... 4 Standalone Machine Agent Requirements and Supported Environments............

More information

PMOD Installation on Linux Systems

PMOD Installation on Linux Systems User's Guide PMOD Installation on Linux Systems Version 3.7 PMOD Technologies Linux Installation The installation for all types of PMOD systems starts with the software extraction from the installation

More information

A Practical Method to Diagnose Memory Leaks in Java Application Alan Yu

A Practical Method to Diagnose Memory Leaks in Java Application Alan Yu A Practical Method to Diagnose Memory Leaks in Java Application Alan Yu 1. Introduction The Java virtual machine s heap stores all objects created by a running Java application. Objects are created by

More information

Oracle WebLogic Thread Pool Tuning

Oracle WebLogic Thread Pool Tuning Oracle WebLogic Thread Pool Tuning AN ACTIVE ENDPOINTS TECHNICAL NOTE 2010 Active Endpoints Inc. ActiveVOS is a trademark of Active Endpoints, Inc. All other company and product names are the property

More information

How To Monitor A Server With Zabbix

How To Monitor A Server With Zabbix & JavaEE Platform Monitoring A Good Match? Company Facts Jesta Digital is a leading global provider of next generation entertainment content and services for the digital consumer. subsidiary of Jesta Group,

More information

How to Enable Remote JMX Access to Quartz Schedulers. M a y 1 2, 2 0 1 5

How to Enable Remote JMX Access to Quartz Schedulers. M a y 1 2, 2 0 1 5 How to Enable Remote JMX Access to Quartz Schedulers M a y 1 2, 2 0 1 5 Table of Contents 1. PURPOSE... 3 2. DEFINITIONS... 4 3. ENABLING REMOTE JMX ACCESS... 5 3.1 JMX/RMI... 6 3.1.1 Apache Tomcat...

More information

PMOD Installation on Windows Systems

PMOD Installation on Windows Systems User's Guide PMOD Installation on Windows Systems Version 3.7 PMOD Technologies Windows Installation The installation for all types of PMOD systems starts with the software extraction from the installation

More information

Identifying Performance Bottleneck using JRockit. - Shivaram Thirunavukkarasu Performance Engineer Wipro Technologies

Identifying Performance Bottleneck using JRockit. - Shivaram Thirunavukkarasu Performance Engineer Wipro Technologies Identifying Performance Bottleneck using JRockit - Shivaram Thirunavukkarasu Performance Engineer Wipro Technologies Table of Contents About JRockit Mission Control... 3 Five things to look for in JRMC

More information

Eclipse Memory Analyzer and other Java stuff

Eclipse Memory Analyzer and other Java stuff Eclipse Memory Analyzer and other Java stuff Jan Rehwaldt 1. Juli 2013 JVM Tool Interface PROFILING IN THE JVM 1. Juli 2013 Jan Rehwaldt Software Profiling 2 JVM Tool Interface Comprehensive interface

More information

Plug-In for Informatica Guide

Plug-In for Informatica Guide HP Vertica Analytic Database Software Version: 7.0.x Document Release Date: 2/20/2015 Legal Notices Warranty The only warranties for HP products and services are set forth in the express warranty statements

More information

JVM Garbage Collector settings investigation

JVM Garbage Collector settings investigation JVM Garbage Collector settings investigation Tigase, Inc. 1. Objective Investigate current JVM Garbage Collector settings, which results in high Heap usage, and propose new optimised ones. Following memory

More information

MID-TIER DEPLOYMENT KB

MID-TIER DEPLOYMENT KB MID-TIER DEPLOYMENT KB Author: BMC Software, Inc. Date: 23 Dec 2011 PAGE 1 OF 16 23/12/2011 Table of Contents 1. Overview 3 2. Sizing guidelines 3 3. Virtual Environment Notes 4 4. Physical Environment

More information

Java Garbage Collection Characteristics and Tuning Guidelines for Apache Hadoop TeraSort Workload

Java Garbage Collection Characteristics and Tuning Guidelines for Apache Hadoop TeraSort Workload Java Garbage Collection Characteristics and Tuning Guidelines for Apache Hadoop TeraSort Workload Shrinivas Joshi, Software Performance Engineer Vasileios Liaskovitis, Performance Engineer 1. Introduction

More information

1 How to Monitor Performance

1 How to Monitor Performance 1 How to Monitor Performance Contents 1.1. Introduction... 1 1.2. Performance - some theory... 1 1.3. Performance - basic rules... 3 1.4. Recognizing some common performance problems... 3 1.5. Monitoring,

More information

JVM Performance Study Comparing Oracle HotSpot and Azul Zing Using Apache Cassandra

JVM Performance Study Comparing Oracle HotSpot and Azul Zing Using Apache Cassandra JVM Performance Study Comparing Oracle HotSpot and Azul Zing Using Apache Cassandra January 2014 Legal Notices Apache Cassandra, Spark and Solr and their respective logos are trademarks or registered trademarks

More information

Agenda. Tomcat Versions Troubleshooting management Tomcat Connectors HTTP Protocal and Performance Log Tuning JVM Tuning Load balancing Tomcat

Agenda. Tomcat Versions Troubleshooting management Tomcat Connectors HTTP Protocal and Performance Log Tuning JVM Tuning Load balancing Tomcat Agenda Tomcat Versions Troubleshooting management Tomcat Connectors HTTP Protocal and Performance Log Tuning JVM Tuning Load balancing Tomcat Tomcat Performance Tuning Tomcat Versions Application/System

More information

WebLogic Server Admin

WebLogic Server Admin Course Duration: 1 Month Working days excluding weekends Overview of Architectures Installation and Configuration Creation and working using Domain Weblogic Server Directory Structure Managing and Monitoring

More information

HOL2831 - Beat the Beast: Java Performance Problem Tracking with Open Source Tools

HOL2831 - Beat the Beast: Java Performance Problem Tracking with Open Source Tools HOL2831 - Beat the Beast: Java Performance Problem Tracking with Open Source Tools Miroslaw Bartecki Solution architect Capgemini Poland CONTACT DETAILS: MIROSLAW.BARTECKI@CAPGEMINI.COM Table of Contents

More information

Introduction to Spark and Garbage Collection

Introduction to Spark and Garbage Collection Tuning Java Garbage Collection for Spark Applications May 28, 2015 by Daoyuan Wang and Jie Huang This is a guest post from our friends in the SSG STO Big Data Technology group at Intel. Join us at the

More information

Deployment and Monitoring. Pascal Robert MacTI

Deployment and Monitoring. Pascal Robert MacTI Deployment and Monitoring Pascal Robert MacTI Contents Deployment Standard wotaskd/javamonitor Wonder s wotaskd/javamonitor Alternatives Monitoring Nagios JMX wotaskd/javamonitor Bundled with WO, as two

More information

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE Contents 1. Pattern Overview... 3 Features 3 Getting started with the Web Application Pattern... 3 Accepting the Web Application Pattern license agreement...

More information

PeopleSoft Online Performance Guidelines

PeopleSoft Online Performance Guidelines PeopleSoft Online Performance Guidelines Agenda Introduction Web Browser configuration Web Server configuration Application Server PIA PeopleSoft Internet Architecture Introduction Pure Internet Architecture

More information

Eclipse installation, configuration and operation

Eclipse installation, configuration and operation Eclipse installation, configuration and operation This document aims to walk through the procedures to setup eclipse on different platforms for java programming and to load in the course libraries for

More information

XGenPlus Installation Guide

XGenPlus Installation Guide Copyright DATA INFOCOM LIMITED. All Rights Reserved. No part of this work may be duplicated or reproduced without the express permission of its copyright holders. Visit www.datainfocom.in for more details

More information

Oracle WebLogic Server 11g: Monitor and Tune Performance

Oracle WebLogic Server 11g: Monitor and Tune Performance D61529GC10 Edition 1.0 March 2010 D66055 Oracle WebLogic Server 11g: Monitor and Tune Performance Student Guide Author Shankar Raman Technical Contributors and Reviewer s Werner Bauer Nicole Haba Bala

More information

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide Spectrum Technology Platform Version 9.0 Spectrum Spatial Administration Guide Contents Chapter 1: Introduction...7 Welcome and Overview...8 Chapter 2: Configuring Your System...9 Changing the Default

More information

Java Garbage Collection Basics

Java Garbage Collection Basics Java Garbage Collection Basics Overview Purpose This tutorial covers the basics of how Garbage Collection works with the Hotspot JVM. Once you have learned how the garbage collector functions, learn how

More information

NonStop Server for Java 6.0 Programmer's Reference

NonStop Server for Java 6.0 Programmer's Reference NonStop Server for Java 6.0 Programmer's Reference HP Part Number: 546595-006 Published: August 2013 Edition: J06.04 and all subsequent J-series RVUs and H06.15 and all subsequent H-series RVUs Copyright

More information

Profiling Java Applications. Kostis Kapelonis - Agilis SA

Profiling Java Applications. Kostis Kapelonis - Agilis SA Profiling Java Applications Kostis Kapelonis - Agilis SA The need for speed Topics Software Quality with FindBugs Using Jconsole Monitoring with Netbeans 6 Profiling CPU with Netbeans 6 Profiling Memory

More information

USE IMPROVE EVANGELIZE. JVM Internals, 0.75. Stefan Parvu System Administrator. http://www.nbl.fi/stefan.parvu

USE IMPROVE EVANGELIZE. JVM Internals, 0.75. Stefan Parvu System Administrator. http://www.nbl.fi/stefan.parvu JVM Internals, 0.75 Stefan Parvu System Administrator http://www.nbl.fi/stefan.parvu License, copyrights COPYRIGHT: Copyright (c) 2008 Stefan Parvu The contents of this file are subject to the terms of

More information

enterprise professional expertise distilled

enterprise professional expertise distilled Oracle JRockit The Definitive Guide Develop and manage robust Java applications with Oracle's high-performance Java Virtual Machine Marcus Hirt Marcus Lagergren PUBLISHING enterprise professional expertise

More information

Apache and Tomcat Clustering Configuration Table of Contents

Apache and Tomcat Clustering Configuration Table of Contents Apache and Tomcat Clustering Configuration Table of Contents INTRODUCTION REVISION HISTORY DOWNLOAD AND INSTALL JDK DOWNLOAD AND INSTALL APACHE WEB SERVER (HTTPD) DOWNLOAD AND INSTALL TOMCAT SERVER APACHE

More information

The Fundamentals of Tuning OpenJDK

The Fundamentals of Tuning OpenJDK The Fundamentals of Tuning OpenJDK OSCON 2013 Portland, OR Charlie Hunt Architect, Performance Engineering Salesforce.com sfdc_ppt_corp_template_01_01_2012.ppt In a Nutshell What you need to know about

More information

MagDiSoft Web Solutions Office No. 102, Bramha Majestic, NIBM Road Kondhwa, Pune -411048 Tel: 808-769-4605 / 814-921-0979 www.magdisoft.

MagDiSoft Web Solutions Office No. 102, Bramha Majestic, NIBM Road Kondhwa, Pune -411048 Tel: 808-769-4605 / 814-921-0979 www.magdisoft. WebLogic Server Course Following is the list of topics that will be covered during the course: Introduction to WebLogic What is Java? What is Java EE? The Java EE Architecture Enterprise JavaBeans Application

More information

Holly Cummins IBM Hursley Labs. Java performance not so scary after all

Holly Cummins IBM Hursley Labs. Java performance not so scary after all Holly Cummins IBM Hursley Labs Java performance not so scary after all So... You have a performance problem. What next? Goals After this talk you will: Not feel abject terror when confronted with a performance

More information

PTC System Monitor Solution Training

PTC System Monitor Solution Training PTC System Monitor Solution Training Patrick Kulenkamp June 2012 Agenda What is PTC System Monitor (PSM)? How does it work? Terminology PSM Configuration The PTC Integrity Implementation Drilling Down

More information

Tomcat Tuning. Mark Thomas April 2009

Tomcat Tuning. Mark Thomas April 2009 Tomcat Tuning Mark Thomas April 2009 Who am I? Apache Tomcat committer Resolved 1,500+ Tomcat bugs Apache Tomcat PMC member Member of the Apache Software Foundation Member of the ASF security committee

More information

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel +32 16 317 411 Fax +32 16 207 164 http://www.option.com Page 1 of 14

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel +32 16 317 411 Fax +32 16 207 164 http://www.option.com Page 1 of 14 Page 1 of 14 ! " #!"#$ % &&' Page 2 of 14 1 INTRODUCTION One of the highly desirable features of the GlobeSurfer III device is the ability to network together Printers and External Hard Disk drives (aka

More information

BEAJRockit Mission Control. Using JRockit Mission Control in the Eclipse IDE

BEAJRockit Mission Control. Using JRockit Mission Control in the Eclipse IDE BEAJRockit Mission Control Using JRockit Mission Control in the Eclipse IDE Mission Control 3.0.2 Document Revised: June, 2008 Contents 1. Introduction Benefits of the Integration................................................

More information

Monitoring Apache Tomcat and the Apache Web Server. Rainer Jung

Monitoring Apache Tomcat and the Apache Web Server. Rainer Jung Monitoring Apache Tomcat and the Apache Web Server Rainer Jung 2013 kippdata informationstechnologie GmbH 1 Monitoring Apache Tomcat and Web Server Rainer Jung ApacheCon NA 2013 Agenda Motivation Java

More information

Monitoring and Managing a JVM

Monitoring and Managing a JVM Monitoring and Managing a JVM Erik Brakkee & Peter van den Berkmortel Overview About Axxerion Challenges and example Troubleshooting Memory management Tooling Best practices Conclusion About Axxerion Axxerion

More information

Practice Fusion API Client Installation Guide for Windows

Practice Fusion API Client Installation Guide for Windows Practice Fusion API Client Installation Guide for Windows Quickly and easily connect your Results Information System with Practice Fusion s Electronic Health Record (EHR) System Table of Contents Introduction

More information