Mantis - Resin
Viewing Issue Advanced Details
4093 major always 06-29-10 14:07 07-08-10 09:35
skippopotamus  
ferg  
normal  
closed 4.0.7  
fixed  
none    
none 4.0.9  
0004093: Very Slow Startup With Resin 4.0.7 on Solaris
Resin can sometimes take 30 minutes or more to start. This is Resin 4.0.7 on Solaris 10 with JDK 1.6.0_18.
The JVM args are
            <jvm-arg>-Xmx4g</jvm-arg>
            <jvm-arg>-Xms4g</jvm-arg>
            <jvm-arg>-d64</jvm-arg>
            <jvm-arg>-XX:PermSize=512M</jvm-arg>
            <jvm-arg>-XX:MaxPermSize=512M</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.port=11111</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>
      <jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg>
      <jvm-arg>-Djava.rmi.server.hostname=x.x.x.x</jvm-arg>
After purging the content of resin-data and watchdog-data Resin starts up in less than 10 secs which is about right.
I'll attach thread dumps of Resin starting.
 jvm-default.log.zip [^] (6,421 bytes) 06-29-10 14:07
 jvm-default.log [^] (63,866 bytes) 06-29-10 14:09

Notes
(0004646)
skippopotamus   
06-29-10 14:08   
Zip file was munched.