1) Heap size
$ sudo vim $JBOSS/bin/run.conf
JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
=>
JAVA_OPTS="-Xms512m -Xmx768m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
2) Port check
vim $JBOSS/server/default/deploy/jboss-web.deployer/server.xml
3) Transaction time out
vim $JBOSS/server/default/conf/jboss-service.xml
=>
4) Thread number
vim server/default/deploy/jboss-web.deployer/server.xml
maxThreads="250"
=>
maxThreads="200"
5) Log Output level by log4j
vim /opt/jboss-4.2.3.GA/server/default/conf/jboss-log4j.xml
<root>
<priority value="WARN" />
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
No comments:
Post a Comment