技术文章 - CS356791
MethodServer 在 Windchill 中长时间执行“Tree DataSource Poller Task Executor”线程
已修改: 18-Dec-2025
适用于
- Windchill PDMLink 12.0.0.3 to 12.1.2.7
- Windchill PDMLink 13.0
说明
- 频繁收到来自 Windchill 的邮件,内容为“平均并发方法上下文阈值已超出”。
- MethodServer 有 36 个挂起的Tree DataSource Poller Task Executor线程
- 这些线程处于空闲状态,等待着另一个已不存在的线程的响应。
- 某些方法上下文会保持活动状态超过 3000 秒,并且不会从方法服务器中释放。
- 示例堆栈跟踪:
"Tree DataSource Poller Task Executor" Id=70034 WAITING on lock=java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1e607c84
Blocked (cnt): 0; Waited (cnt): 117
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
at [email protected]/java.util.concurrent.ArrayBlockingQueue.put(ArrayBlockingQueue.java:367)
at app//com.ptc.mvc.components.TreeDataSourcePoller.addToNodeQueue(TreeDataSourcePoller.java:435)
at app//com.ptc.mvc.components.TreeDataSourcePoller.handleChunk(TreeDataSourcePoller.java:397)
at app//com.ptc.mvc.components.TreeDataSourcePoller.pollInternal(TreeDataSourcePoller.java:346)
at app//com.ptc.mvc.components.TreeDataSourcePoller.poll(TreeDataSourcePoller.java:184)
at app//com.ptc.mvc.components.TreeDataBuilderAsyncAdapter$TreeDataSourceTask.run(TreeDataBuilderAsyncAdapter.java:332)
at app//com.ptc.mvc.components.TreeDataBuilderAsyncAdapter$TreePollerCallable.callInContext(TreeDataBuilderAsyncAdapter.java:360)
at app//com.ptc.mvc.ds.server.MethodContextCallable.call(MethodContextCallable.java:47)
at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at [email protected]/java.lang.Thread.run(Thread.java:834)
这是文章 356791 的 PDF 版本,可能已过期。最新版本 CS356791