Extremely slow startup of tomcat

Posted by Henrik on Server Fault See other posts from Server Fault or by Henrik
Published on 2012-09-04T06:44:53Z Indexed on 2012/11/08 23:05 UTC
Read the original article Hit count: 249

Filed under:
|
|

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a medium sized grails application so there are quite a a lot of files. The server is running other server applications as well but from my basic skills I don't see this as a problem.

Can anyone give me some tips on how to analyse this? Settings in Tomcat, java, server, disc access or something else?

I use these parameters to tomcat:

CATALINA_OPTS="-Dcom.sun.management.jmxremote=true -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=512m  -XX:MaxPermSize=512m -XX:+DisableExplicitGC"

And I use a 32 bit java 1.6.

© Server Fault or respective owner

Related posts about tomcat

Related posts about java