PQ98500; 4.0.6: Memory leak from Orb connections left open
 Downloadable files
 
Abstract
Orb connections are left open in WebSphere® Application Server V4.0.6, resulting in a leak of native memory and the potential for an OutOfMemory exception.
 
Download Description
PQ98500 resolves the following problem:

ERROR DESCRIPTION:
Orb connections will stop being closed by the server and will only be removed by IO exceptions on the client side. This connection leak may appear also to be a memory leak since each connection will also use native resources.

PROBLEM SUMMARY:
USERS AFFECTED:
All WebSphere Application Server users.

PROBLEM DESCRIPTION:
Application Server stops closing TCPIP connections resulting in memory growth until an out of memory condition is reached.

RECOMMENDATION:
Under certain conditions, the Application Server ORB will stop closing inactive connections. When in this state, connections are only closed by an explicit close from the client side, or an I/O exception from an application being stopped on the client side without explicitly closing the connection. This condition can be observed by an inordinate number of open connections on the server (with netstat for example). If
left long enough, the JVM that the Application Server is running under will not be able to create threads for new connections anymore because it has run out of memory.

Following is an example of what you may see in an ORB trace:

[1/24/05 17:59:02:420 EST] 558fb8dd e
UOW=16089-558fb8dd-8538311:
win16 source=ORBRas class=com.ibm.rmi.corba.PluginRegistry
method=ensureDefaultPrereqsGroupTwo:495 user23 org=IBM
prod=JDK
component=ORB
java.lang.OutOfMemoryError:
JVMCI015:OutOfMemoryError,
cannot create anymore threads due to memory or resource
constraints
parm1=java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError,
cannot
create anymore threads due to memory or resource constraints
at java.lang.Thread.start(Native Method)
at com.ibm.rmi.iiop.WorkerThread.<init>(ThreadPoolImpl.java
(Inlined Compiled Code))
at com.ibm.rmi.iiop.WorkerPool.createWorkerThread
(ThreadPoolImpl.java(Compiled Code))
at com.ibm.rmi.iiop.WorkerPool.createThread
(ThreadPoolImpl.java(Inlined Compiled Code))
...
 
Prerequisites
NONE
 
 
Installation Instructions
Please review the readme.txt for detailed installation instructions.
 
URL LANGUAGE SIZE(Bytes)
Readme US English 2566
 
Download package
What is DD?
Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PQ98500 1/26/2005 US English 1074047 FTP DD
 
Technical support
1-800-IBM-SERV (U.S. Only)
 
Problems (APARS) fixed
PQ98500
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Object Request Broker (ORB)
Operating system(s): Windows
Software version: 4.0.6
Software edition:
Reference #: 4008779
IBM Group: Software Group
Modified date: Mar 1, 2006