Weblogic配置

weblogic11g建议这样修改线程池大小

打开并编辑 bin/setDomainEnv.sh

在最后面添加

export JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.threadpool.MinPoolSize=100"

----------------------------

从经典的8开始到目前的11g(10R3)性能和易用性都在不断的改进和提升,对于配置和优化响应的参数方面也正在变迁;
如下为config.xml参数文件: 

<server>
    <name>AdminServer</name>
    <execute-queue>
      <name>default</name>
      <thread-count>200</thread-count>
      <threads-maximum>400</threads-maximum>
    </execute-queue>
    <use81-style-execute-queues>true</use81-style-execute-queues>

     <listen-address></listen-address>
  </server>

官方文档指出,WebLogic 9 / WebLogic 10 的线程池是自调优的,并且在WebLogic 9的时候,通过修改config.xml可以修改默认线程池的最小值、最大值,但是很麻烦。到了WebLogic 10gR3,连修改

config.xml的办法都给取消了。

但是,可以通过在启动脚本增加如下参数,可以指定默认线程池的最小值、最大值:
-Dweblogic.threadpool.MinPoolSize=100
-Dweblogic.threadpool.MaxPoolSize=500

猜你喜欢

转载自tooby.iteye.com/blog/2084351
今日推荐