• 独占线程数过多-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,直到最后执行完毕(虽然有可能永远执行不完)。
  • 相关阅读:
    同步gitlab与github
    配置hosts快速访问GitHub
    Linux下Julia安装
    LATEX图片位置
    IPOPT安装
    sqlplus传入shell变量
    users表空间满导致应用无法连接
    坏块修复 ORA-00701
    Oracle中INITRANS和MAXTRANS参数(转)
    DBMS_ROWID包的使用
  • 原文地址:https://www.cnblogs.com/vzhangxk/p/15504637.html
Copyright © 2020-2023  润新知