otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


SysAdmin and Management Managing and monitoring OTM / G-Log and other administrative activities.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 28th, 2009, 15:20
Junior Member
 
Join Date: Feb 2007
Posts: 8
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
amatorre is on a distinguished road
Websphere Heap Dumps

Running OTM 5.5.4 on Linux with Websphere.

The app server stopped responding this morning (database and web stayed up).

Looking at the websphere logs, it reported the following error several times:

"Insufficient space in Javaheap to satisfy allocation request"

Further digging shows numerous 200 MB files written to /otm/websphere/profiles/default folder, named as such:

heapdump.20090728.085542.10998.phd

After about 20 of these files were generated, disk space ran out. The app server was completely pegged out on the CPU, as well.

Does anyone know the cause of this kind of dump?

Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old July 28th, 2009, 16:55
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: Websphere Heap Dumps

This issue is related to the IBM JDK that WebSphere uses. When working with OTM, we've found a lot of instability, mostly around memory management. Sometimes you run out of Java Native memory and other times you run out of Java Heap memory. From the error, it seems that your heap was not big enough to satisfy the memory requirements of OTM.

Which platform are you running on - AIX or Linux?
How big is your OTM WebSphere Java Heap size?

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old July 29th, 2009, 02:45
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 98 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: Websphere Heap Dumps

I also had a nightmare working OTM with IBM JDK.

If you just want to disable heapdump, you can refer to "Disabling Java signal handling" section of Troubleshooting Java code on AIX: Data collection for AIX core dumps

But if you want to find out why (the real nightmare), you can refer to

Just FYI, the nightmare tortured us for more than 3 months, even with IBM engineers' help
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/

Last edited by josephliang; July 29th, 2009 at 06:13.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to josephliang For This Useful Post:
chrisplough (July 29th, 2009)
  #4 (permalink)  
Old July 29th, 2009, 03:01
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: Websphere Heap Dumps

Joseph,

I'm glad to have someone else who's lived through this to share their experiences. The truth is I've worked with most of the OTM clients who are running on AIX and/or WebSphere and it is always very difficult.

Even back at G-Log, I've worked with the IBM engineers for weeks on end without getting a full resolution. The best we've been able to accomplish is to stabilize the environments, and keep it from crashing too often.

While the IBM hardware is pretty darn good (I'm a fan of the POWER CPUs), the OS and IBM JDK are a letdown. It just doesn't mix well with memory intensive / complex apps like OTM. We've had much more success with JRockit and Linux -- which is why we've standardized our Hosting environments on that tech stack.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old July 29th, 2009, 06:10
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 98 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: Websphere Heap Dumps

Forgot to mention that the customer moved to Linux+JRockit eventually (2 years after gone live)
Another score for Red vs. Blue
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old July 29th, 2009, 17:45
Junior Member
 
Join Date: Feb 2007
Posts: 8
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
amatorre is on a distinguished road
Re: Websphere Heap Dumps

Thanks, gents. Your input is very helpful.

The AS is on Linux.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old July 29th, 2009, 18:28
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: Websphere Heap Dumps

No problem. You'll find that the limitation is the IBM JDK that is used with WebSphere. On Linux, you have the option of using JRockit if your AS is WebLogic (or even OAS), which is much faster and more stable.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging OTM Native Heap Crashes on AIX chrisplough Hardware and Platforms 1 October 5th, 2007 19:04
[SOLVED] Obtaining Thread Dumps from the OTM Java JVM Processes chrisplough SysAdmin and Management 0 June 13th, 2007 17:03
[SOLVED] aggressive heap on Linux Kristof Stevens Performance, Scalability and HA 2 May 21st, 2007 14:14
[SOLVED] Win32 maximum JVM Heap? chrisplough Hardware and Platforms 1 March 1st, 2007 03:51
[SOLVED] WebSphere Ports chrisplough Architecture 0 November 17th, 2006 01:26



All times are GMT. The time now is 09:15.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40