WAS线程正在挂起 [英] WAS threads are getting hung

查看:537
本文介绍了WAS线程正在挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正面临WAS线程被挂起的问题.

I am facing an issue that WAS threads are getting hung.

配置:

OS:AIX,

WAS:6.1.0.31

WAS: 6.1.0.31

com.ibm.websphere.threadmonitor.interval:180秒

com.ibm.websphere.threadmonitor.interval: 180 seconds

com.ibm.websphere.threadmonitor.threshold:10分钟

com.ibm.websphere.threadmonitor.threshold: 10 minutes

com.ibm.websphere.threadmonitor.false.alarm.threshold:100

com.ibm.websphere.threadmonitor.false.alarm.threshold: 100

以上设置用于挂起检测.

Above settings are for hung detection.

有什么办法可以清除挂起的线程?

Is there any way that I can clean up the hung threads ?

谢谢.

推荐答案

否. WAS没有为此提供机制.您看到的是仅提供通知的看门狗机制.您应该实际上解决了导致线程首先挂起的根本问题.开始解决该问题

No. WAS doesn't provide mechanism for that. What you see is a watchdog mechanism that provides merely notifications. You are supposed to actually fix the underlying problem why the threads get hung in the first place. To get started with that issue

kill -3 <pid>

并读取堆栈跟踪.几次之后,您很可能会开始看到一种模式,然后您必须阅读应用程序的源代码,以了解真正出了什么问题以及如何解决它.

and read the stack traces. It is likely that after a few you will start seeing a pattern and then you have to read the source code for your applications to understand what really went wrong and how to fix it.

这篇关于WAS线程正在挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆