OutOfMemory
Analyse von Laufzeitproblemen bei
Java J2EE Appliakationen
Communardo Software GmbH
Marko Seifert
Dresden 22052008
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 2
Motivation und Gliederung
bull analysiere OutOfMemory Probleme seit ca 2 Jahren in
verschiedenen Projekten
bull Einsatz verschiedener Tools
bull Strukturiertes Vorgehen beim Analysieren
bull Gliederung
bull Grundlagen
bull Betriebskennzahlen ermitteln
bull Analyse von Speicherdumps (MemoryLeaks)
Grundlagen
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 4
Speicher fuumlr den Java-Prozess
bull Die Process Size
bull maximale Speicher fuumlreinen Prozess
bull ist abhaumlngig vom Betriebssystemund von der Hardware(4 GB bei 32 Bit HugeMem-Kernel Linux)
bull wird benoumltigt fuumlr
bull Heap
bull Native Code
bull Permanent Generation
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 5
Speicher fuumlr den Java-Prozess
Der Heap
bull Speicher fuumlr die Erzeugung
der ObjekteObject a = new Object ()
bull Groumlszlige ist begrenzt wird nichts
angegeben gelten Systemdefaults
bull 2 Bereiche
bull New Generation
bull Anlegen von
neuen Objekten
bull Old Generation
bull Verwaltung der aumllteren noch benoumltigten Objekte
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 6
Speicher fuumlr den Java-Prozess
bull New Generation ist unterteilt in
bull Eden
bull Anlegen der Objekte
bull 2 Survivior Bereiche (FromTo)
bull Zwischenspeicher fuumlr das Ermitteln von noch lebenden Objekte (Referenzen von lebenden Threads auf die Objekte)
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 2
Motivation und Gliederung
bull analysiere OutOfMemory Probleme seit ca 2 Jahren in
verschiedenen Projekten
bull Einsatz verschiedener Tools
bull Strukturiertes Vorgehen beim Analysieren
bull Gliederung
bull Grundlagen
bull Betriebskennzahlen ermitteln
bull Analyse von Speicherdumps (MemoryLeaks)
Grundlagen
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 4
Speicher fuumlr den Java-Prozess
bull Die Process Size
bull maximale Speicher fuumlreinen Prozess
bull ist abhaumlngig vom Betriebssystemund von der Hardware(4 GB bei 32 Bit HugeMem-Kernel Linux)
bull wird benoumltigt fuumlr
bull Heap
bull Native Code
bull Permanent Generation
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 5
Speicher fuumlr den Java-Prozess
Der Heap
bull Speicher fuumlr die Erzeugung
der ObjekteObject a = new Object ()
bull Groumlszlige ist begrenzt wird nichts
angegeben gelten Systemdefaults
bull 2 Bereiche
bull New Generation
bull Anlegen von
neuen Objekten
bull Old Generation
bull Verwaltung der aumllteren noch benoumltigten Objekte
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 6
Speicher fuumlr den Java-Prozess
bull New Generation ist unterteilt in
bull Eden
bull Anlegen der Objekte
bull 2 Survivior Bereiche (FromTo)
bull Zwischenspeicher fuumlr das Ermitteln von noch lebenden Objekte (Referenzen von lebenden Threads auf die Objekte)
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
Grundlagen
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 4
Speicher fuumlr den Java-Prozess
bull Die Process Size
bull maximale Speicher fuumlreinen Prozess
bull ist abhaumlngig vom Betriebssystemund von der Hardware(4 GB bei 32 Bit HugeMem-Kernel Linux)
bull wird benoumltigt fuumlr
bull Heap
bull Native Code
bull Permanent Generation
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 5
Speicher fuumlr den Java-Prozess
Der Heap
bull Speicher fuumlr die Erzeugung
der ObjekteObject a = new Object ()
bull Groumlszlige ist begrenzt wird nichts
angegeben gelten Systemdefaults
bull 2 Bereiche
bull New Generation
bull Anlegen von
neuen Objekten
bull Old Generation
bull Verwaltung der aumllteren noch benoumltigten Objekte
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 6
Speicher fuumlr den Java-Prozess
bull New Generation ist unterteilt in
bull Eden
bull Anlegen der Objekte
bull 2 Survivior Bereiche (FromTo)
bull Zwischenspeicher fuumlr das Ermitteln von noch lebenden Objekte (Referenzen von lebenden Threads auf die Objekte)
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 4
Speicher fuumlr den Java-Prozess
bull Die Process Size
bull maximale Speicher fuumlreinen Prozess
bull ist abhaumlngig vom Betriebssystemund von der Hardware(4 GB bei 32 Bit HugeMem-Kernel Linux)
bull wird benoumltigt fuumlr
bull Heap
bull Native Code
bull Permanent Generation
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 5
Speicher fuumlr den Java-Prozess
Der Heap
bull Speicher fuumlr die Erzeugung
der ObjekteObject a = new Object ()
bull Groumlszlige ist begrenzt wird nichts
angegeben gelten Systemdefaults
bull 2 Bereiche
bull New Generation
bull Anlegen von
neuen Objekten
bull Old Generation
bull Verwaltung der aumllteren noch benoumltigten Objekte
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 6
Speicher fuumlr den Java-Prozess
bull New Generation ist unterteilt in
bull Eden
bull Anlegen der Objekte
bull 2 Survivior Bereiche (FromTo)
bull Zwischenspeicher fuumlr das Ermitteln von noch lebenden Objekte (Referenzen von lebenden Threads auf die Objekte)
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 5
Speicher fuumlr den Java-Prozess
Der Heap
bull Speicher fuumlr die Erzeugung
der ObjekteObject a = new Object ()
bull Groumlszlige ist begrenzt wird nichts
angegeben gelten Systemdefaults
bull 2 Bereiche
bull New Generation
bull Anlegen von
neuen Objekten
bull Old Generation
bull Verwaltung der aumllteren noch benoumltigten Objekte
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 6
Speicher fuumlr den Java-Prozess
bull New Generation ist unterteilt in
bull Eden
bull Anlegen der Objekte
bull 2 Survivior Bereiche (FromTo)
bull Zwischenspeicher fuumlr das Ermitteln von noch lebenden Objekte (Referenzen von lebenden Threads auf die Objekte)
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 6
Speicher fuumlr den Java-Prozess
bull New Generation ist unterteilt in
bull Eden
bull Anlegen der Objekte
bull 2 Survivior Bereiche (FromTo)
bull Zwischenspeicher fuumlr das Ermitteln von noch lebenden Objekte (Referenzen von lebenden Threads auf die Objekte)
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 7
Heap-Parameter
bull Heapsize explizit angegebenJAVA_VM_ARGS=$JAVA_VM_ARGS -Xms1024m -Xmx1024m
bull Servereinstellung (Heapverteilung oldnew 13)JAVA_VM_ARGS=$JAVA_VM_ARGS -server
bull Heapdump bei OOMJAVA_VM_ARGS=-XX+HeapDumpOnOutOfMemoryError
bull Parallele GCJAVA_VM_ARGS=$JAVA_VM_ARGS
-XX+UseParallelGC
-XXUseParallelOldGC
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
Betriebskennzahlen
ermitteln
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 9
Speicher fuumlr Prozess
bull Aktuelle Speicher fuumlr einen Prozesstop -p ltPIDgt (Linux)
bull Betriebssystem bestimmen (Kernelversion)uname -r (Linux)
bull In Betriebssystemspezifikation nachlesen (zB bei RedHat)httpwwwredhatcomdocsmanualsenterpriseRHEL-4-
Manualrelease-notesas-x86
Red Hat Enterprise Linux 4 includes a kernel known as the hugemem
kernel This kernel supports a 4GB per-process user space (versus
3GB for the other kernels) and a 4GB direct kernel space
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 10
Speicher fuumlr Prozess
bull OutOfMemory in Native Code
bull Process Size zu klein
Process Size ndash Heap ndash PermSize = Speicher fuumlr Native Code
bull MemoryLeak in Native Code
bull FiledeleteOnExit() JDK
bull Kernel beendet Java-ProzessAn unexpected exception has been detected in
native code outside the VM
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 11
GC-Verlauf uumlberwachenbull GC-Logging aktivierenJAVA_VM_ARGS=$JAVA_VM_ARGS
-verbosegc -Xloggcvarlogsgclog
-XX+PrintGCTimeStamps -XX+PrintHeapAtGC
-XX+PrintTenuringDistribution
bull gclog mit HPjtune
auswerten
bull Kurz vor OutOfMemory kann durch GC kaum
noch Speicher freigegeben
werden
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 12
Monitoring mit JMeter
Einrichten eines Users fuumlr die Management-Seiten
ltxml version=10 encoding=utf-8gt
lttomcat-usersgt
ltrole rolename=admingt
ltrole rolename=managergt
ltuser username=admin
password=admin
roles=admin managergt
lttomcat-usersgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 13
Monitoring mit JMeter
Tomcat Monitoring URL
httpHOSTPORTmanagerstatusXML=true
ltxml version=10 encoding=utf-8gt
ltstatusgt
ltjvmgt
ltmemory free=206306536
total=424214528
max=492175360gt
ltjvmgt
ltstatusgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 14
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 15
Monitoring mit JMeter
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 16
JMX und JConsole
bull JMX Konfiguration
JAVA_VM_ARGS=$JAVA_VM_ARGS
-Dcomsunmanagementjmxremote
-Dcomsunmanagementjmxremoteport=8086
-Dcomsunmanagementjmxremotessl=false
-Dcomsunmanagementjmxremoteauthenticate=
false
bull jconsole [processID]
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 17
JMX und JConsole
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 18
Profilerseite (CAE) + shell script
bull Auswertung von Apache Logfiles per shell script
bull Profilerseite der CAE mit shell script ausgelesen und in CSV-Datei
geschrieben
bull Auswertung und Visualisierung mit Excel
Internet 12
Datum 10052007 11052007 12052007 13052007 14052007 15052007 16052007
alle Aufrufe 560966 702092 514152 443465 334097 561757 568876
Google 56038 39199 4669 69170 3578 5221 6276
statisches PDF 2840 5991 2682 2341 1203 3057 2272
PDFReactor 2530 2611 197 4163 142 195 243
neue Session
(exkl URL Rewriting) 52150 43027 18085 57074 14474 20191 21947
Google Session 37823 30581 967 55440 1490 814 1385
ask Session 7041 6178 625 11396 484 642 865
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 19
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
Analyse von Speicherdumps
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 21
Speicherdump erstellen
bull Histogrammjdk150binjmap -histo ltPIDgt gt histtxt
bull Binary HeapDump (komplett)jdk150binjmap -heapformat=b ltPIDgt
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 22
JHat (JDK 16)
java -Xmx2048m -jar hatjar java_pid27280hprof
Started HTTP server on port 7000
Reading from java_pid27280hprof
Dump file created Tue Nov 20 142207 CET 2007
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 23
SAP Memory Analyzer
bull kostenloses Tool zum Analysieren von groszligen Memory Dumps
bull sehr schnelle (durch Indizierung)
bull sehr gute Analysemoumlglichkeiten
bull Bearbeitung groszliger Dumps
bull als Eclipse Plugin oder eigenstaumlndige Applikation (RPC-
Framework)
bull Artikel im JavaMagazin (112007 S105)
bull Download
httpswwwsdnsapcomirjsdnjavarid=libraryuuida0f47c83-5ef6-
2910-2c89-b75d296edef9
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 24
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 25
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 26
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 27
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669
copy Communardo Software GmbH middot Fon +49 (0) 351 833820 middot infocommunardode middot wwwcommunardode
Folie 28
OutOfMemory
bull MemoryLeak durch CGLIB (Hibernate EHCache CoreMedia
Dataviews hellip)
bull ThreadLocal Variablen und ThreadPool des Tomcats
httpopensourceatlassiancomconfluencespringpagesviewpagea
ctionpageId=2669