今日系统使用时,经常连登录都有问题,已经验证了用户名和密码,却迟迟不做下一步处理,然后n久后控制台报错:
<2010-8-25 下午02时22分21秒 CST> <Warning> <WebLogicServer> <BEA-000335> <Percen
t of starting server free memory is now at "4%". This is less than the configure
d threshold of "5%". We will try to garbage collect, but you may consider reboot
ing.>
开始装tmph2
true
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: allocLargeArray - Object size: 16400, Num
elements: 8192
java.lang.OutOfMemoryError
weblogic.management.ManagementRuntimeException: java.lang.OutOfMemoryError
at weblogic.management.runtime.ServerRuntimeMBean_Stub.getExecuteQueueRu
ntimes(ServerRuntimeMBean_Stub.java:421)
at weblogic.t3.srvr.CoreHealthMonitorThread.checkStuckThreads(CoreHealth
MonitorThread.java:249)
at weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.
java:160)
Caused by: java.lang.OutOfMemoryError
java.lang.OutOfMemoryError: nativeGetNewTLA
at java.util.HashMap.newValueIterator()Ljava.util.Iterator;(Unknown Sour
ce)
at java.util.HashMap$Values.iterator()Ljava.util.Iterator;(Unknown Sourc
e)
at weblogic.webservice.conversation.internal.ConversationManagerImpl.rem
oveTimedOutConversations(ConversationManagerImpl.java:113)
at weblogic.webservice.conversation.internal.ConversationManagerImpl$Sta
teInvalidator.run(ConversationManagerImpl.java:164)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: allocLargeArray - Object size: 2064, Num
elements: 2048
OutOfMemoryError occured on server
OutOfMemoryError occured on server
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: allocLargeArray - Object size: 2064, Num
elements: 2048
OutOfMemoryError occured on server<2010-8-25 下午02时35分17秒 CST> <Emergency>
<WebLogicServer> <BEA-000210> <The WebLogic Server is no longer listening for co
nnections.>
OutOfMemoryError occured on server OutOfMemoryError occured on server
OutOfMemoryError occured on server
<2010-8-25 下午02时35分19秒 CST> <Alert> <WebLogicServer> <BEA-000218> <Server s
hutdown has been requested by <WLS Kernel>>
<2010-8-25 下午02时35分20秒 CST> <Alert> <WebLogicServer> <BEA-000219> <The shut
down sequence has been initiated.>
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
OutOfMemoryError occured on server
OutOfMemoryError occured on server
java.lang.OutOfMemoryError: nativeGetNewTLA
at java.lang.StringBuffer.expandCapacity(StringBuffer.java:202)
at java.lang.StringBuffer.append(StringBuffer.java:401)
at java.lang.StackTraceElement.toString()Ljava.lang.String;(Unknown Sour
ce)
at java.lang.String.valueOf(Ljava.lang.Object;)Ljava.lang.String;(Unknow
n Source)
at java.lang.StringBuffer.append(StringBuffer.java:370)
[JRockit] java.lang.OutOfMemoryError: nativeGetNewTLA
java.lang.OutOfMemoryError: nativeGetNewTLA
[JRockit] java.lang.OutOfMemoryError: allocLargeArray - Object size: 8208, Num
elements: 8192
at java.lang.String.<init>(Ljava.lang.StringBuffer;)V(Unknown Source)
at java.lang.StringBuffer.toString(StringBuffer.java:1256)
at java.lang.StackTraceElement.toString()Ljava.lang.String;(Unknown Sour
ce)
at java.lang.String.valueOf(Ljava.lang.Object;)Ljava.lang.String;(Unknow
n Source)
at java.lang.StringBuffer.append(StringBuffer.java:370)
at java.lang.Throwable.printStackTrace(Ljava.io.PrintStream;)V(Unknown S
ource)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:912)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:910)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:910)
at java.lang.Thread.dispatchUncaughtException(Ljava.lang.Throwable;)V(Un
known Source)
java.lang.OutOfMemoryError: allocLargeArray - Object size: 16400, Num elements:
8192
后经初步摸索,为内存占用有关,可能是登录等操作时session中包含数据量多大(猜想),修改了并发连接数没有效果,后在bea\weblogic8.1\common\bin\下打开commEnv.sh,修改其中JVM_VENDOR选项,将数个MEM_ARGS参数xms\xmx值调大后,重启weblogic生效。
转载于:https://blog.51cto.com/vieri/382877