我们一直遇到 JRockit jvm 卡在这个堆栈上的问题:
"[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" id=45 idx=0x94 tid=9944 prio=1 alive, in native, daemon
at jrockit/vm/Allocator.nativeGetNewTLA()V(Native Method)
at jrockit/vm/Allocator.getNewTLA(Allocator.java:788)[optimized]
at jrockit/vm/Allocator.allocLargerThanFreeTLA(Allocator.java:816)[inlined]
at jrockit/vm/Allocator.allocSlowCaseInner(Allocator.java:930)[inlined]
at jrockit/vm/Allocator.allocSlowCase(Allocator.java:776)[optimized]
at oracle/jdbc/driver/T4CMAREngine.unmarshalCLRforREFS(T4CMAREngine.java:2024)[optimized]
at oracle/jdbc/driver/T4CTTIoer.unmarshal(T4CTTIoer.java:160)[optimized]
at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:727)[optimized]
at oracle/jdbc/driver/T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)[inlined]
at oracle/jdbc/driver/T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)[optimized]
at oracle/jdbc/driver/OracleStatement.executeMaybeDescribe(OracleStatement.java:1060)[optimized]
at oracle/jdbc/driver/T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)[optimized]
at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)[optimized]
at oracle/jdbc/driver/OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)[optimized]
^-- Holding lock: oracle/jdbc/driver/T4CPreparedStatement@0x1d8f8268[thin lock]
^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x14d68fd8[thin lock]
at weblogic/jdbc/wrapper/PreparedStatement.executeQuery(PreparedStatement.java:97)[optimized]
试图分配内存似乎被卡住了。根据我们的监控工具,堆使用率在 14% 左右,而在服务器卡住之前的时间不到 20%。
这是java版本:
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
BEA JRockit(R) (build R27.5.0-110_o-99226-1.5.0_14-20080528-1505-linux-x86_64, compiled mode)
这些是我们正在使用的 JVM 设置
-Xms256m -Xmx3072m -Xverify:none
任何想法可能导致此问题?