2015-04-07 19 views

回答

0

你有2種選擇:

  1. 增加默認超時
    如果這將是夠你剛纔擴展,當線程被認爲是從10分鐘掛到如20則只是定義以下JVM自定義屬性:

    com.ibm.websphere.threadmonitor.threshold=1200 
    

有關詳情,請Configuring the hang detection policy

  1. 定義自定義運行狀況策略
    如果您正在WebSphere 8.5 Network Deployment上運行,則可以配置運行狀況策略以實現您想要的目標。轉至Operational policies > Health Policies,並與下面的自定義條件創建新的策略:

    PMIMetric_FromServerStart$threadPoolModule$concurrentlyHungThreads > 40L 
    

再加入Take threads dump行動,並將其分配給您的服務器。

有關可用條件的更多詳細信息,請檢查Custom health conditionsHealth management