on 03-05-2007 12:53 PM
Hello all,
I'm running an NW04 SPS18 with Wily Introscope 7.1. I experience java.lang.OutOfMemoryError quit often, so I want to set up Introscope's LeakHunter. I found this Document https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d281836d-0b01-0010-bfa9-ba473646...
which was quite helpful. Nevertheless I can't find the file "leakhunter.pbd" which is mentioned in this doc anywhere. Has anyone successfully set up the LeakHunter already?
kind regards,
Markus
Hi
I happened to see your message when trying to setup the leakhunter.
I finally got it working - in case this helps I attach the method I followed.
1) I used agent profile sap_IntroscopeAgent_ipc.profile.
To enable LeakHunter, set the following parameter:
introscope.agent.leakhunter.enable=true
2) Find which directives file (.pbd) or directives list file (.pbl) is specified this is seen in parameter:
introscope.autoprobe.directivesFile=sap_ipc_typical.pbl
3) Edit this file, ensuring that the line leakhunter.pbd must be uncommented:
Introscope standard pbds
java2.pbd
j2ee.pbd
jvm.pbd
sqlagent.pbd
struts.pbd
errors.pbd
disabled by default leakhunter.pbd
leakhunter.pbd
Restart the J2EE cluster and the leakhunter should be working
regards
Ratna
The leakhunter.pbd contents are pasted below:
########################################################################
Introscope LeakHunter ProbeBuilder Directives File
Wily Technology (tm) Introscope(R) Version 7.0 Release 7.0
Copyright (c) 1998 - 2006 Wily Technology, Inc. All Rights Reserved.
Introscope(R) is a registered trademark of Wily Technology, Inc.
########################################################################
#############################################################
This file provides instrumentation settings for
Introscope LeakHunter, a low overhead leak detection
utility. In most cases you will not need to modify
the contents of this file.
#############################################################
TurnOn: LeakHunter
#######################
Collection support
================
Lists the supported implementations of java.util.Collection
#
All implementations must be identified directly.
The IdentifyInheritedAs directive can not be used.
#
Other implementations of this interface can be added as
long as the size() method can be called from any thread
IdentifyClassAs: java.util.ArrayList LeakHunter
IdentifyClassAs: java.util.HashSet LeakHunter
IdentifyClassAs: java.util.LinkedHashSet LeakHunter
IdentifyClassAs: java.util.LinkedList LeakHunter
IdentifyClassAs: java.util.Stack LeakHunter
IdentifyClassAs: java.util.TreeSet LeakHunter
IdentifyClassAs: java.util.Vector LeakHunter
Interfaces should be specified too so that field assignment can
work properly
IdentifyClassAs: java.util.Collection LeakHunter
IdentifyClassAs: java.util.List LeakHunter
IdentifyClassAs: java.util.Set LeakHunter
IdentifyClassAs: java.util.SortedSet LeakHunter
#######################
Map support
================
Lists the supported implementations of java.util.Map
#
All implementations must be identified directly.
The IdentifyInheritedAs directive can not be used.
#
Other implementations of this interface can be added as
long as the size() method can be called from any thread
IdentifyClassAs: java.util.HashMap LeakHunter
IdentifyClassAs: java.util.Hashtable LeakHunter
IdentifyClassAs: java.util.IdentityHashMap LeakHunter
IdentifyClassAs: java.util.LinkedHashMap LeakHunter
IdentifyClassAs: java.util.Properties LeakHunter
IdentifyClassAs: java.util.TreeMap LeakHunter
Interfaces should be specified too so that field assignment can
work properly
IdentifyClassAs: java.util.Map LeakHunter
IdentifyClassAs: java.util.SortedMap LeakHunter
#######################
LeakHunter scope
================
Defines the set of classes where LeakHunter will
look for potential leaks. This must cover the
class that creates or tracks the collection for
a leak to be identified.
IdentifyAllClassesAs: LeakHunterScope
#########################################################
The following section of the file contains directives #
which implement the LeakHunter tracer group. Do not #
make changes to any of the directives below this line #
or Introscope LeakHunter will not work correctly. #
#########################################################
SetFlag: LeakHunter
TurnOn: LeakHunterScope
SetFlag: LeakHunterScope
NoticeScopedFieldAssignmentIfFlagged: LeakHunter com.wily.introscope.agent.leakhunter.FieldAssignmentEventNoticer LeakHunterScope
NoticeScopedObjectCreationIfFlagged: LeakHunter com.wily.introscope.agent.leakhunter.ObjectCreationEventNoticer LeakHunterScope
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.