tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Eaves <>
Subject Re: java -server option
Date Fri, 11 Apr 2003 01:29:40 GMT
Hi Chris (and others)

Be wary however, I've seen the use of the -server option cause
unexplained crashes with the VM.

This was with JDK 1.4 (IIRC), with Tomcat and with Weblogic.

So, as usual, caveat implementor.

	-- jon

Halstead, Chris wrote:
>> Hi all,
>> Thanks for the feedback.  We restart our tomcat server each night - allows 
>> us a system maintenance window and database backups etc...  I guess the 
>> notes I've read have talked about improvements in performance in long 
>> running processes. As our system is restarted each day - but we have a 
>> couple of hundred users - would this constitute a long running process and
>> gain any benefit.  Or is it simply a case of try it and see ?
>> Cheers - Steve
> Consider 'long-running' to be anything more than several minutes.  In the
> case of a servlet-based app the HotSpot engine should be able to optimize the
> code quite quickly, say 30-50 requests (I'm making a wild guess).  In any
> case 24 hours is _way_ more than enough to warm up oft-executed sections of
> code.  You may have to benchmark it to really quantify the extent of the
> improvement though - i.e. don't expect miracles or a drastic visible
> difference from setting '-server' ;-)
> -chris
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: For
> additional commands, e-mail:

Jon Eaves <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message