ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' 异常解决办法

简介:

ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'  异常解决办法

weblogic设置修改:
"weblogic.kernel.Default"是从客户端提交请求后产生的线程所在的队列名。这个队列的线程数默认是15个。如果超过15个线程堵塞,则部署的应用将不能访问。同时后台报:
<2008-2-27 下午09时37分48秒 CST> <Error> <WebLogicServer> <BEA-000337> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default' has been busy for "1,720" seconds working on the request "Http Request: /myapp/test/index.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.> 
2,线程数(Tread Count):七七八八网 http://www.qi788.com 指派到weblogic.kernel.Default队列的线程数。如果你不需要使用超过15个线程(默认),就不必更改这个属性值。

     如果发送该请求较多,很有可能会导致weblogic的线程阻塞,严重会引起weblogic挂起现象。 
可以通过以下几种方法解决: 
1)修改StuckThreadMaxTime参数,将默认的600s改成1200s,或者其它适合的值。 
2)增大线程数,防止线程阻塞问题。 

3)优化程序,减少处理时间。


可以通过在启动脚本增加如下参数,可以指定默认线程池的最小值、最大值:

-Dweblogic.threadpool.MinPoolSize=100

-Dweblogic.threadpool.MaxPoolSize=500

 

或者

进入WebLogic控制台——左边窗口的mydomain——servers——点击myserver——Configuration——General——点击Advanced Options的Show链接——最下面的Configure Execute Queues 链接——weblogic.kernel.Default链接——Thread Count参数。的却是隐藏的比较深。修改Thread Count的值,然后重启WebLogic就可以生效了。

七七八八网 http://www.qi788.com




      本文转自yjflinchong 51CTO博客,原文链接:http://blog.51cto.com/yjflinchong/1164931,如需转载请自行联系原作者




相关文章
|
7月前
|
Java Unix Linux
The JVM Tool Interface (JVM TI): How VM Agents Work
The JVM Tool Interface (JVM TI): How VM Agents Work
86 0
|
Linux
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
269 0
|
Java 应用服务中间件
weblogic开启debug模式启动时出现ERROR: Cannot load this JVM TI agent twice
weblogic开启debug模式启动时出现ERROR: Cannot load this JVM TI agent twice
348 0
|
SQL Oracle 关系型数据库
Oracle数据库ORA-12516:“listener could not find available handler with matching protocol stack!“问题解决方法
Oracle数据库ORA-12516:“listener could not find available handler with matching protocol stack!“问题解决方法
526 0
Oracle数据库ORA-12516:“listener could not find available handler with matching protocol stack!“问题解决方法
|
Kubernetes Linux C语言
如何处理VirtualBox启动错误消息:The vboxdrv kernel module is not loaded
如何处理VirtualBox启动错误消息:The vboxdrv kernel module is not loaded
584 0
|
存储 应用服务中间件
Idean2018版本创建Gradle项目配置Tomcat报404错误(The origin server did not find a current representation for the)
一、在IntelliJ IDEA2018版本创建Gradle项目配置Tomcat报404错误 二、解决方案:红框部分,在外部存储生产的项目文件的勾一定不要勾选。
5840 0