| | SysAdmin and Management Managing and monitoring OTM / G-Log and other administrative activities. |  | 
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 | | | 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, | 
July 28th, 2009, 16:55
|  | Site Moderator | | Join Date: Jun 2006 Location: West Chester, PA
Posts: 1,167
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10 | | | 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 | 
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 | | | 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
Last edited by josephliang; July 29th, 2009 at 06:13.
| | The Following User Says Thank You to josephliang For This Useful Post: | | 
July 29th, 2009, 03:01
|  | Site Moderator | | Join Date: Jun 2006 Location: West Chester, PA
Posts: 1,167
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10 | | | 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 | 
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 | | | 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 | 
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 | | | Re: Websphere Heap Dumps Thanks, gents. Your input is very helpful.
The AS is on Linux. | 
July 29th, 2009, 18:28
|  | Site Moderator | | Join Date: Jun 2006 Location: West Chester, PA
Posts: 1,167
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10 | | | 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 |  | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| | | | |