문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
service:was:weblogic:wltunning [2007/04/09 04:37] 220.90.203.242 |
service:was:weblogic:wltunning [2007/05/03 14:42] starlits |
||
---|---|---|---|
줄 12: | 줄 12: | ||
ulimit -Sn 8192 | ulimit -Sn 8192 | ||
</ | </ | ||
+ | |||
줄 23: | 줄 24: | ||
net.ipv4.tcp_max_syn_backlog = 8192 | net.ipv4.tcp_max_syn_backlog = 8192 | ||
</ | </ | ||
+ | - 필요에 따라 다음 커널 값들을 수정(/ | ||
+ | # weblogic + apache2 (testing) | ||
+ | ## net.ipv4.tcp_keepalive_time = 7200 | ||
+ | ## net.ipv4.tcp_keepalive_intvl = 75 | ||
+ | ## net.ipv4.tcp_keepalive_probes = 9 | ||
+ | # | ||
+ | net.ipv4.tcp_fin_timeout = 15 | ||
+ | net.ipv4.tcp_keepalive_time = 60 | ||
+ | net.ipv4.tcp_keepalive_intvl = 60 | ||
+ | net.ipv4.tcp_keepalive_probes = 1 | ||
+ | </ | ||
===== WebLogic Setting ===== | ===== WebLogic Setting ===== | ||
줄 43: | 줄 55: | ||
- | ===== WebLogic | + | |
+ | |||
+ | |||
+ | ===== Memory | ||
+ | - JDK 변경 | ||
+ | * weblogic을 설치하면 기본적으로 jrockit 과 Sun JDK 가 설치되어 있다. 하나를 선택한다면 Sun JDK를 선택하는 것을 권고한다. | ||
+ | * OS에서 제공하는 JDK가 있다면, OS 제공하는 JDK를 사용하는 것이 성능적으로 우수할 수 있다. | ||
- MEM_ARGS 옵션 변경 < | - MEM_ARGS 옵션 변경 < | ||
MEM_ARGS=" | MEM_ARGS=" | ||
JAVA_VM=" | JAVA_VM=" | ||
</ | </ | ||
- | - JDK 변경 | + | |
- | * weblogic을 설치하면 기본적으로 jrockit 과 Sun JDK 가 설치되어 있다. 하나를 선택한다면 Sun JDK를 선택하는 것을 권고한다. | + | |
- | * OS에서 제공하는 JDK가 있다면, OS 제공하는 JDK를 사용하는 것이 성능적으로 우수할 수 있다. | + | ===== Servers/ |
- | | + | |
+ | | ||
^ Tuning Parameter ^ Development Mode Default ^ Production Mode Default ^ | ^ Tuning Parameter ^ Development Mode Default ^ Production Mode Default ^ | ||
줄 59: | 줄 78: | ||
* 현재 회사에서 운영중인 서버 설정 | * 현재 회사에서 운영중인 서버 설정 | ||
- | ^ location ^ Name ^ last values ^ tunning | + | ^ location ^ Name ^ values ^ |
- | | JDBC Connection Pool: Connections | Initial Capacity | 25 | 100 | | + | | JDBC Connection Pool: Connections | Initial Capacity | 25 | |
- | | JDBC Connection Pool: Connections | Maximum Capacity | + | | JDBC Connection Pool: Connections | Maximum Capacity | 200 | |
- | | JDBC Connection Pool: Connections | Capacity Increment | 1 | 10 | | + | | JDBC Connection Pool: Connections | Capacity Increment | 5 | |
- | | Servers: Execute Queue | Thread Count | 25 | 100 | | + | | Servers: Execute Queue | Thread Count | 25 | |
+ | |||
+ | * Thread Count 와 JDBC Connection Pool Count 는 일치시켜 주는 것이 성능상 좋다. | ||
+ | |||
+ | * [{domain}] - [Servers] - [{server name}] - ' | ||
+ | - **MSI File Replication Enabled** : 서버가 시작될때 어드민 콘솔에 접근이 안되면 이전 MSI 값으로 기동된다. \\ NoStage 모드일때 적절한 값이다. | ||
+ | |||
+ | * [{domain}] - [Servers] - [{server name}] - ' | ||
+ | - **Server File Name** : The name of the file that stores this server' | ||
+ | - **Log to Stdout** : Specifies whether the server should send messages to standard out | ||
+ | |||
+ | * [{domain}] - [Servers] - [{server name}] - ' | ||
+ | - **Enable HTTP Logging** : 웹로그가 필요하지 않다면 체크를 해제한다. | ||
+ | |||
+ | * [{domain}] - [Services] - [JDBC] - [Connection Pools] - ' | ||
+ | - **Allow Shrinking** : ' | ||
+ | - **Enable Connection Leak Profiling** : JDBC Connection leak을 수집, 해결한다. | ||
+ | - **Test Reserved Connections** : 'Test Table Name' | ||
+ | - **Connection Reserve Timeout** : The number of seconds (between -1 and a positive 32-bit integer) after \\ which a call to reserve a connection from the pool will timeout. \\ When set to 0, a call will never timeout. \\ When set to -1, a call will timeout immediately. | ||
+ | - **Connection Creation Retry Frequency** : DB가 연결이 되지 않은 상태에서 시작할 수 있으며, \\ 정해진 간격으로 체크하면서 DB가 연결되면 Pool을 생성한다. \\ 300초면 적당할 듯하다. | ||
+ | |||
+ | Nostage - | ||
+ | |||
+ | ===== WebLogic + Apache2 Tuning ===== | ||
===== WebLogic Debug ===== | ===== WebLogic Debug ===== | ||
줄 70: | 줄 112: | ||
# | # | ||
</ | </ | ||
- | |||