Solved

Where Can I find Websphere 5.0 Core/Java Heap Dump files?

Posted on 2014-01-15
11
508 Views
Last Modified: 2014-01-16
We are on an older version of WAS. WAS 5.0. We are having a lot of random performance issues from our web server that sits on top of WAS.

As troubleshooting steps we want to look at the core head dump files but we cant find them. I have searched  under: C:\temp. I have also searched on all drives for: *.dmp or *.trc. but nothing.

Can someone tell me where I can look for these files?

Thanks!
0
Comment
Question by:matrix0511
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 39782851
Look for thread dumps in the installation root directory.  They have the following format:

javacore.date.time.id.txt.

Heap dumps:

install_root/bin/heapdmp.txt
0
 

Author Comment

by:matrix0511
ID: 39783520
Ok. I didn't see any files, so I guess that is a good thing right? Thanks!
0
 

Author Comment

by:matrix0511
ID: 39783592
Hey Gary, something I just noticed on the WAS server admin console setting that might explain why we are having these performance issues. NOtice the attached screen print for JVM MIN & MAX memory settings. Ideally they should be set to something like 32MB min & 1024MB max.

but notice that it's set to. do you think this could be the culprit? Perhaps its having to start so low with the memory setting?
1-15-2014-12-44-23-PM.jpg
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39783839
Yes, or course.  Inadequate memory can cause all kinds of problems, and setting is restricting the heap to 256MB of RAM.

You've also got some debugging options turned on.  Depending what is in there, that can create a lot of overhead, too.
0
 

Author Comment

by:matrix0511
ID: 39783880
You mentioned we have debugging turned on. Where did you see that??
0
 

Author Comment

by:matrix0511
ID: 39783891
And shouldn't we be seeing those heap dump files no matter what? And especially with these wrong settings, I would think that there would be heap dump files all over the place. But I don't see any.
0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39783904
Debug arguments box.
0
 

Author Comment

by:matrix0511
ID: 39784582
Ok. So Gary, to turn OFF debug do I just remove that debug argument? (-Xdebug)?

Or what is the best way to disable that? Thanks
0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39785539
The debug arguments are probably only applied when you check the Debug Mode box above the debug arguments.  Check the help text.
0
 

Author Comment

by:matrix0511
ID: 39785592
I checked with Oracle (JDE) support and they said that argument (-Xdebug) does in fact mean debugging is turned on.

But you make an interesting point. I want to see how we can confirm if its actually debugging or not. Is there certain log files that it creates that would indicate its debugging? I would expect to see a ton of large files if this setting has been in place a long time right?
0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39785767
The question isn't what -xDebug does, it is whether or not these debug arguments are actually being applied when the JVM is started.

-xDebug enables the remote debugging service, and allows you to attach a remote debugger (from Eclipse, for example) to your application.  Usually there will be options too, including -Djava.compiler=NONE, which causes your code to run in pure interpreted mode (no JIT - which is liable to significantly slow your application down)

I think ticking the "Enable Debug" box determines whether these are applied when the JVM is started or not.  It wasn't ticked on the screen shot you posted above, so that may mean it won't be applied on the next server start.

To be sure, just read the help text on that page, it should tell you.  

Or look as your startServer.sh script.  It will contain a line like this:

export DEBUG="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7777"

or

# export DEBUG="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7777"

If the line is commented out, debugging is disabled.  If it is not commented out, debugging is enabled.
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Soundcloud.com 4 115
QQ problem 22 93
web server dns redirect 5 75
Windows Server 2102 R2 - IIS 8.5 redirection assistance ? 7 74
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question