zoukankan      html  css  js  c++  java
  • 独占线程数过多-weblogic报警

    联机文档

    独占线程:

    如果根据调度程序的自动观察,某个请求独占执行线程的时间超过了正常执行时间,则为“真”。
    True if the execute thread is being hogged by a request for much more than the normal execution time, as automatically observed by the scheduler.
    独占线程计数:
    请求现在所保留的线程。这些线程将在配置的超时过后被声明为粘滞或在超时结束前返回给池。自优化机制将在必要时进行回填。
    The threads that are being held by a request right now. These threads will either be declared as stuck after the configured timeout or will return to the pool before that. The self-tuning mechanism will backfill if necessary.
     
    通过联机文档的解释可以看出,WebLogic要把一个线程标记为Hogging Thread需要满足两个条件:
    (1)线程执行时间超过了“正常执行时间”。
    (2)线程执行时间还没有超过“粘滞线程最长时间”。

    随着时间的推移,Hogging Thread会出现两种不同的状态变化:
    (1)在超过“粘滞线程最长时间”之前,请求执行完毕,Hogging Thread被释放,重新回到线程池,等待下一个请求的到来。
    (2)超过“粘滞线程最长时间”之后请求还没有执行完毕,Hogging Thread被标记为Stuck Thread,直到最后执行完毕(虽然有可能永远执行不完)。
  • 相关阅读:
    【BZOJ1452】【JSOI2009】count
    【BZOJ1030】【JSOI2007】文本生成器
    【BZOJ2427】【HAOI2010】软件安装
    从【BZOJ4173】谈做题技巧
    小A的旅行(绿豆蛙的归宿)【期望DP】
    甜点 【多重背包】
    洛谷 [P1154] 奶牛分厩
    POJ [P2631] Roads in the North
    洛谷 [P3258] 松鼠的新家
    洛谷 [P3398] 仓鼠找sugar
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/15504637.html
Copyright © 2011-2022 走看看