otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Hardware and Platforms Platform specific tips and issues - including the pros and cons of implementing OTM / G-Log on various platforms.

Tags: , , , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 26th, 2007, 12:26
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 816
Blog Entries: 7
Thanks: 53
Thanked 199 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Debugging OTM Native Heap Crashes on AIX

Hello all,

I'm currently debugging an issue for a client, who is running on AIX. I hate to say it, but this has unfortunately become one of the more troublesome platforms for OTM, both in terms of performance (Java performance is poor -- even though the processors are fantastic) and stability (Java crashes A LOT under load).

The issue we're encountering now is that the WebLogic server is randomly crashing as the JVM runs out of native memory (note -- NOT the Java Heap).

For more information on how Java allocates memory on AIX, see the following article:I'll most more details as I get them, but right now, we're running svmon at regular intervals in order to understand the memory usage and determine what we can do about it.
Code:
svmon -P <weblogic_java_pid> -m -i <interval>
To determine the <weblogic_java_pid>, just run:
Code:
ps -ef | grep java | grep weblogic\.Server
The worst-case scenario is that this is a bug in how OTM and the IBM JDK work together, which causes a memory leak in the native memory area -- since it would require a code fix, which would be especially hard to track down and resolve.

Thanks,
Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 5th, 2007, 19:04
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 816
Blog Entries: 7
Thanks: 53
Thanked 199 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Debugging OTM Native Heap Crashes on AIX

As a quick update - here's a website that describes the things you'll want to accomplish and log before calling IBM -- otherwise they'll just make you do it anyways.

IBM - Mustgather: Gathering data for OutOfMemoryErrors on AIX

The biggest help is the script to automate the collection of svmon and other data (attached below).

AIX_memory_leak.sh.zip

Thanks,
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
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging idea nikesh mohanlal Branding, Screen Sets, XSL/CSS and Translations 2 April 11th, 2008 14:18
[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



All times are GMT. The time now is 18:22.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


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