WebLogic调优与监控.ppt
《WebLogic调优与监控.ppt》由会员分享,可在线阅读,更多相关《WebLogic调优与监控.ppt(28页珍藏版)》请在三一办公上搜索。
1、1,WebLogic Server 性能监控与调优,Overview-1,WebLogic的版本,WebLogic Server 8.1(Java 1.4、J2EE 1.3)WebLogic Server 9.x(Java 5、J2EE 1.4)WebLogic Server 10.0(Java 5、Java EE 5)WebLogic Server 10.3(Java 6、Java EE 5)WebLogic Server 11gR1(10.3.x)(Java 6、Java EE 5)软件授权:自从oracle收购了bea之后,WebLogic的序列号全都开放了,没有必要再去进行破解了。,2
2、,WebLogic 主要使用 的JVM,SUN HotSpot JVMBEA JRockit JVM不同的JVM,其可设置的参数和监控的工具将是不同,后面将分别介绍这两种JVM的设置。在Intel架构和windows平台上,建议使用JRockit JVM,这样可以带来更优的性能。,3,WebLogic实例主要设置内容,启动参数设置主要是设置GC参数线程设置主要是设置线程的数量数据库连接池的设置主要是设置连接池的初始容量和最大容量,4,WebLogic 8.1 启动文件,%DOMAIN_HOME%/startWebLogic.cmd设置实例的运行模式:开发模式/生产模式设置JAVA_HOME设置
3、JAVA_VM:client/server/jrockit设置MEM_ARGS%WL_HOME%commonbincommEnv.cmd设置所有实例都统一使用的参数,5,WebLogic 9.2 启动文件,%WL_HOME%commonbincommEnv.cmd设置所有实例统一的运行参数%DOMAIN_HOME%binsetDomainEnv.cmd设置本实例的运行参数%DOMAIN_HOME%binstartWebLogic.cmd运行启动脚本,6,7,Sun HotSpot Heap 分布,Heap is divided broadly into three areas:Young(Ne
4、w)generationTenured(Old)generationPermanent(Perm)generationYoung generation is further divided into:EdenSurvivor spaces(2),Xmx,8,Tuning GC Manually,New self-tuning feature is not available while tuning JVMs prior to version 1.5 and manual tuning is required.The following are the common tuning parame
5、ters available while tuning the garbage collection manually:Size of the the overall heap-Xmsn-XmxnSize of the generations in the heap-XX:NewSize=n-XX:MaxNewSize=n-XX:NewRatio=n,9,Tuning GC Manually,Common tuning parameters(continued)The size of the survivor spaces in the young generation-XX:Survivor
6、Ratio=nThe size of the permanent generation-XX:PermSize=n-XX:MaxPermSize=nThe threshold for promotion from the young generation to the old generation-XX:MaxTenuringThreshold=nTuning involves either a series of experiments with a specialized tool(or)good judgment to decide that GC was performing well
7、.,Tuning Sun HotSpot JVM-38,10,JRockit Benefits,Weblogic JRockit JVM is designed for server-side applications.It employs adaptive optimization to significantly improve runtime performance.It has adaptive garbage collection and heap management.It offers full support for 32 and 64 bit JRockit on Intel
8、 EM64T/AMD64 and compatibles.JRockit also supports Solaris/Sparc architecture.It offers support for very large heaps on 64 bit platforms.JRockit Mission Control tools suite offers better management,tuning and troubleshooting.,11,Generational Heap-JRockit,In the two-generational model,heap is divided
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- WebLogic 监控

链接地址:https://www.31ppt.com/p-2237075.html