* soft nproc 16384 * hard nproc 16384 * soft nofile 65536 * hard nofile 65536
ulimit -Hn 8192 ulimit -Sn 8192
# su - # sysctl -a
kernel.msgmni = 1024 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
: DB 연결이 끊어지고 다시 연결할때 DB 접속을 시도하는 옵션이다.
이 옵션이 체크되어 있지 않은 상태에서 DB 연결이 끊어지고 나면 DB 연결을 더 이상 하지 않는다.
: 이 옵션을 선택하지 않으면 아래와 같은 에러가 나올 수 있다.
<2007. 3. 30. 오후 4시 24분 20초 KST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactory from the EJB "StatelessContainer" inside application "beflyt". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jws.jms.QueueConnectionFactory' didn't find subcontext 'jws' Resolved weblogic; remaining name 'jws/jms/QueueConnectionFactory'>
MEM_ARGS="-Xms1024m -Xmx1024m -XX:NewSize=367m -XX:MaxNewSize=367m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SurvivorRatio=2" JAVA_VM="-server"
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 | 25 |
JDBC Connection Pool: Connections | Maximum Capacity | 200 |
JDBC Connection Pool: Connections | Capacity Increment | 5 |
Servers: Execute Queue | Thread Count | 25 |
Nostage -
# MEM_ARGS="-Xms512m -Xmx512m" (기존) # MEM_ARGS="-Xms512m -Xmx512m -verbosegc" (GC Memory Debug On)