I've tried each of the aforementioned GC options individually with the following other parameters: JAVA_OPTS="<GC Param> -Xms368m -Xmx512m -XX:MaxPermSize=128m -XX:+PrintGC -XX:+PrintGCDetails -Djava.awt.headless=true -Dfile.encoding=UTF-8"
The *only option* that did not cause the startup process to halt indefinitely on startup was the Serial GC option. I tried this one on 4 or 5 successive attempts and the server started up in under 30s. The others halted indefinitely (i.e. at least 5-10m before I finally killed the process) during GC as an incomplete GC log statement was the last thing in the catalina.out file. - Does this indicate some kind of threading problem in this Java env? - Does the option "DoEscapeAnalysis" still use a parallel gc? - Is the experimental more similar to the parallel or the serial? Thanks, Bradley On Thu, Sep 3, 2009 at 4:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com] > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app > > in Tomcat 5.5 on Ubuntu 7 > > > > And again in a new place on subsequent attempt. > > There's nothing unusual that I can see in the traces, so it looks like you > will have to try random GC settings until something works (as Mark suggested > some time ago). Try turning these tags on, one at a time: > > -XX:+UseParallelGC > -XX:+UseParallelOldGC > -XX:+UseSerialGC > -XX:+DoEscapeAnalysis > -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC > > The last one is somewhat experimental, as the parameter implies. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >