アーティクル - CS244172
Windchill で「平均同時メソッド コンテキストしきい値を超えました」というメールが表示され、システムが応答しなくなりました
修正日: 29-Apr-2025
適用対象
- Windchill PDMLink 10.2 to 12.0
説明
- システムが電子メールに応答しません:
Average concurrent method context threshold exceeded
- メソッド サーバー ログ内のwt.jmx.notif.methodContext警告:
Threshold of average active method contexts exceeded
- メソッド サーバー ログのwt.jmx.notif.methodContextGauge警告
- スレッドダンプをキャプチャし、多くのスレッドがデータベース接続を取得できないことを発見しました
- サーバーステータスページで、最大同時実行数が高く、赤で表示される
- 部品構造ページの読み込みが非常に遅い
- ワークフロープロセスが開始されない
- バックグラウンド メソッド サーバー ログのwt.jmx.notif.methodContext警告
- Windchill Configuration Assistant (WCA) は、少なくとも wt.pom.maxDbConnections=10 を設定します。
- 完全なスレッドスタックトレースは、データベース接続を待機している間に多くのスレッドがブロックされていることを示しています。
- wt.pom.POMHandler.getConnection を待機しているスタック トレースの例:
"ajp-bio-8010-exec-8" Id=785 daemon prio=5 WAITING on lock=wt.pom.POMHandler$ConnectionPool@2a652831 Blocked (cnt): 0; Waited (cnt): 1 CPU nanos: 74310016; User nanos: 60000000; Bytes allocated: 30024800 Servlet request: 2upts7;irqbn1uk;2468;htf3sd;4345; Method context: 2upts7;irqbn1uk;2468;htf3sd;4347 at java.lang.Object.wait(Native Method) at wt.pom.POMHandler.getConnection(POMHandler.java:175) at wt.method.MethodContext.getConnection(MethodContext.java:2391) at wt.pom.PersistentObjectManager.getUserConnection(PersistentObjectManager.java:327)- 警告が継続的に受信され、データベース接続が常にwt.pom.maxDbConnectionsの最大値に達します。
Name=MethodContextsNotifier, SourceObjectName=com.ptc:wt.subsystem=Monitors,wt.monitorType=MethodContexts, class=class javax.management.Notification, type=wt.method.MethodContextMonitorMBean.maxAverageActiveContextsThreshold.exceeded, userData=38.12698373779806, message=Threshold of average active method contexts exceeded; average active contexts: 38.127, JVM Name=xxx, Database Connections=15
メソッドコンテキストサンプルから、多くのプロセスがデータベース接続を待機していました
最新バージョンはこちらを参照ください CS244172