Kbase P149923: After upgrading to from 9.1D07 to 10.1C, the AppServer broker gets java.lang.OutOfMemoryError messag
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/30/2009 |
|
Status: Unverified
SYMPTOM(s):
After upgrading to from 9.1D07 to 10.1C, the AppServer broker gets java.lang.OutOfMemoryError message when trying to spawn another agent.
The AppServer is running in state-reset mode and is the only AppServer started.
The java.lang.OutOfMemoryError message appears when trying to spawn the Nth agent, where (900 < N < 950).
Since upgrading, the system has been paging much more than before.
After lowering the -Bt and -tmpbsize for the clients to the 9.1D07 defaults, paging has returned to normal.
FACT(s) (Environment):
The Progress 9.1D07 version installed is utilizing Java 1.3.1.
The OpenEdge 10.1C version installed is utilizing Java 1.5.
The AIX system hardware and OS version has not changed.
AIX system has 32 GB of memory
IBM AIX 5.3
OpenEdge 10.1C
CAUSE:
The Java default maximum heap size has been reached.
FIX:
Add the -Xmx option to jvmArgs in the ubroker.properties file to increase the maximum Java heap size. For example. within the AppServer's property group in the ubroker.properties file, add the following line:
jvmArgs=-Xmx128m
This will increase the maximum Java heap size from the default of 64 MB to 128 MB.
The following is an example from a ubroker.properties file showing the complete property for an AppServer names asbroker90:
[UBroker.AS.asbroker90]
appserviceNameList=asbroker90
brokerLogFile=$WRKDIR/asbroker90.broker.log
brkrLoggingLevel=2
srvrLoggingLevel=2
srvrLogEntryTypes=DynObjects.other
controllingNameServer=NS1
defaultService=1
description=A sample AppServer setup for State-reset
environment=asbroker90
groupName=
hostName=fastbox1
jvmArgs=-Xmx128m
keyAlias=default_server
initialSrvrInstance=3
maxSrvrInstance=1000
minSrvrInstance=3
mqEnabled=0
operatingMode=State-reset
portNumber=5162
registrationMode=Register-HostName
srvrLogFile=$WRKDIR/asbroker90.server.log
srvrLogEntryTypes=ASPlumbing,DB.Connects,DynObjects.Other
srvrStartupParam=-db demo -S 1234 -H fastbox1
userName=
srvrMaxPort=4000
srvrMinPort=2002