Create tomcat user
Update /etc/security/limits.conf to increase the number of open files limit for tomcat users.
You need it if java apps opens a lot of files for caching or on busy website.
tomcat soft nofile 16383
tomcat hard nofile 65535
Update tomcat/bin/catalina.sh (example)
JAVA_HOME=/usr/local/java
JAVA_OPTS=”-d64 -Xms12000m -Xmx12000m -XX:MaxPermSize=256m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:-TraceClassUnloading”
To be continued…

