Checklist for linux server used for tomcat/java apps

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…

Posted in Check Lists | Tagged , , , , | Leave a comment

Heatsink

I went to the data center today to upgrade memory on one of the Dell’s PowerEdge 1850 servers. When I opened the case I saw that one of the chips on the raid controller lost its heatsink. Little hook that holds heatsink in place detached from the board. This server is still under warranty, but it looked like it is easy fix, so I reached for a soldering iron. Server was back in service in no time.

Posted in Hardware Troubles | Tagged , , , | Leave a comment