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,直到最后执行完毕(虽然有可能永远执行不完)。
  • 相关阅读:
    动态规划_leetcode416
    动态规划_leetcode377
    基础整理
    super使用简介
    PHP替换指定字符串
    yii安装redis扩展(Windows)
    PHP多维数组去重
    git pull
    vue页面部署并移除url里面的#号
    fatal: refusing to merge unrelated histories(git pull)
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/15504637.html
Copyright © 2011-2022 走看看