service:was:weblogic:wltunning
문서의 이전 판입니다!
WebLogic Tuning Guide on Linux
OS limit Setting
vi /etc/security/limits.conf
* soft nproc 16384
* hard nproc 16384
* soft nofile 65536
* hard nofile 65536
필요에 따라서 .bash_profile 이나 .bashrc 를 수정한다.
ulimit -Hn 8192
ulimit -Sn 8192
OS Kernel Tuning
현재 설정을 확인해 본다.
# su -
# sysctl -a
변경할 셋팅값을 /etc/sysctl.conf 에 입력한다.
kernel.msgmni = 1024
net.ipv4.tcp_max_syn_backlog = 8192
WebLogic Tuning
MEM_ARGS 옵션 변경
MEM_ARGS="-Xms1024m -Xmx1024m -XX:NewSize=367m -XX:MaxNewSize=367m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SurvivorRatio=2"
JAVA_VM="-server"
JDK 변경
서버 설정값 Development and Production Startup Mode Tuning Defaults
Tuning Parameter | Development Mode Default | Production Mode Default |
Execute Queue: ThreadCount | 15 threads | 25 threads |
JDBC Connection Pool: MaxCapacity | 15 connections | 25 connections |
location | Name | values |
JDBC Connection Pool: Connections | Initial Capacity | 100 |
JDBC Connection Pool: Connections | Maximum Capacity | 200 |
JDBC Connection Pool: Connections | Capacity Increment | 10 |
Servers: Execute Queue | Thread Count | 100 |
WebLogic Debug
vi setDomain.sh 이나 환경설정에서 MEM_ARGS 라인에
-verbosegc 옵션을 추가한다.
# MEM_ARGS="-Xms512m -Xmx512m" (기존)
# MEM_ARGS="-Xms512m -Xmx512m -verbosegc" (GC Memory Debug On)
service/was/weblogic/wltunning.1175651686.txt.gz · 마지막으로 수정됨: 2007/04/04 10:54 저자 starlits