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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值