Stuck thread Detection:
WebLogic Server 提供 stuckThreadMaxTime 及stuck Thread Timer Interval 兩個參數協助偵測 thread stuck 的狀況並發出警訊 , stuckThreadMaxTime 的 default 值為 600 秒 , stuckThreadTimerInterval 的 deault 值也是 600 秒 , 每 600 秒 WebLogic Server 會檢查 Queue 中所有的 thread, 如果發現有持續工作 600 秒的狀況發生 ,Server 認定這個 thread 的狀態為 stuck, stuck 住的 thread 在 Server log 中會有記錄提醒管理者 , 如果情況持續的惡化 ,stuck thread 數量越來越多 , 造成 WebLogic Server 的 Default Execute Queue 中的 thread 全部 stuck,Server 就會變更自己的狀態為 Critical, 如果是 Customer Execute Queue,Server 變更自己的狀態為 Warning 
server菜单—〉configuration页---〉tuning子页中还有一些相关的配置:1、  Stuck Thread Max Time 黏联线程时间,超过这个时间没有返回的执行线程,系统将认为是黏联线程。2、  Stuck Thread Timer Interval 系统检查黏联线程的时间间隔

解决方案 »

  1.   


    司令说没办法啊……weblogic不懂,友情顶帖!
      

  2.   

    谢谢上面的回复,不过还是没有看到怎么终止这些线程呢,我觉得用Node应该可以,不过还没有研究出来怎么配置。
      

  3.   

    其实我也是听说node manager可以管理这些问题,但是我实际操作了之后没有成功
      

  4.   

    这个问题我已经挂起了,暂时没有解决方案,不过还是散点小分数,是在是不知道怎么可以让server自动重启,4楼介绍的没错,但是我需要的是发现问题后server能否自动重启
      

  5.   

    我也遇到了这个问题,解决办法是用kill -3 打出堆栈信息,分析问题产生的原因。
      

  6.   

    No, you cannot. First, there is no way to "kill" a thread in Java. Second,
    weblogic execute threads are internal system resources and are not to
    be managed manually by an application.The fact that you have "stuck" threads may mean serious errors
    in your application design or implementation that may need to be fixed.