Skip to Main Content

Not able to attach analyzer to a Java Process

2727557Aug 14 2014 — edited Aug 20 2014

Hi team,

While to trying to profile a running java process we encountered the below listed warning and errors. But we were successful in attaching to a C++ process.

We use oracle-jdk-7u45-linux-x64 but the output shows a different java version. Permission was granted to all folders. Could you please help us in collecting the

profile data

Running: /x/opt/SolarisStudio12.4-beta_jul14-linux-x86/lib/analyzer/lib/../../../bin/collect -P 17566 -o test.1.er -d /x/web/STAGE2LP18/walletsendmoneyserv -p on -S on -j on

name test. is in use; changed to test.2.er

name test. is in use; changed to test.2.er

WARNING: Java data collection may fail: J2SE[tm] version is unsupported.

NOTE: No J2SE[tm] was specified for checking.

    The following J2SE[tm] versions are recommended:

      J2SE[tm] 1.7.0_25 or later 1.7.0 updates (preferred)

NOTE: You can download and install the J2SE[tm] from http://www.oracle.com/technetwork/java/javase/downloads.

Reading java

Reading ld-linux-x86-64.so.2

Reading libpthread.so.0

Reading libjli.so

Reading libdl.so.2

Reading libc.so.6

Reading libjvm.so

Reading libm.so.6

Reading librt.so.1

Reading libverify.so

Reading libjava.so

Reading libzip.so

Reading libnio.so

Reading libnet.so

Reading libwrapper.so

Reading libmanagement.so

Reading libsunec.so

Reading libgcc_s.so.1

Reading libawt.so

Reading libmawt.so

Reading libXext.so.6

Reading libX11.so.6

Reading libXrender.so.1

Reading libXtst.so.6

Reading libXi.so.6

Reading libXau.so.6

Reading libXdmcp.so.6

Reading libcollector.so

Attached to process 17566 with 186 LWPs

t@47691734756224 (l@17566) stopped in pthread_join at 0x2b6018500c65

0x00002b6018500c65: pthread_join+0x0125: cmpl     $0x0000000000000000,(%rdi)

dbx: The HW counter configuration could not be loaded

Run "collect -h" or "er_kernel -h" with no other arguments for more information on HW counters on this system.

dbx: Creating experiment database /x/web/STAGE2LP18/walletsendmoneyserv/test.2.er (Process ID: 13225) ...dbx: Creating experiment database /x/web/STAGE2LP18/walletsendmoneyserv/test.2.er (Process ID: 13225) ...

dbx: Experiment directory not writable

Experiment aborted

error at line 17 of file 'dbxcolAeFcLe'

detaching from process 17566

Process ID: 13225

Elapsed Time: 469 ms

Execution completed, exit status is 0

Env Settings:

Version: Oracle Solaris Studio Performance Analyzer 12.4 Linux_x64 Beta2 2014/06/18

Analyzer protocol version: 15

Install: /x/opt/SolarisStudio12.4-beta_jul14-linux-x86/lib/analyzer/lib

Working directory: /x/opt/SolarisStudio12.4-beta_jul14-linux-x86/bin

Java: J2SE[tm] 1.7.0_45

Java home: /x/opt/oracle/oracle-jdk-7u45-linux-x64/jdk1.7.0_45/jre

User directory: /root/.solstudio/analyzer-pythia.dev1

er_print: /x/opt/SolarisStudio12.4-beta_jul14-linux-x86/lib/analyzer/lib/../../../bin/er_print

Thanks

Sattish.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Sep 17 2014
Added on Aug 14 2014
1 comment
1,155 views