You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Omar Adobati <om...@gmail.com> on 2005/02/03 20:05:09 UTC

Re: How do you start tomcat in production, with -server or not ?

may I know where u read abaout the problem of "-server" option?


On Thu, 03 Feb 2005 12:59:09 -0600, Paul <pa...@mnwebhost.net> wrote:
> Are you referring to the JVM option?  Is so, I use the "-server" option
> in the CATALINA_OPTS that get passed to the JVM.
> 
> AFAIK, the client mode (default) is good for fast startup and low memory
> requirements.  The server version is geared towards providing the best
> performance at the expense of the memory footprint.  There are some
> technical difference that I've never explored, like default heap sizes,
> complication & inlining policies.
> 
> To finally answer your question, I've always used the -server option in
> our production machines without a problem.  And I don't even notice the
> slower startup.
> 
> Cheers,
> 
> -Paul
> 
> Marchioni Francesco wrote:
> 
> >Hi all,
> >I have read on Sun documentation that it's adviced to start server
> >applications with -server
> >option which should boost performance though with slower startup.
> >
> >Somewhere I can find post of users telling not to use the -server flag
> >because it can leads to instable environment (but they don't give any proof
> >about it)
> >What is your experience ? Do you start Tomcat with -server in production ?
> >Thanks
> >Francesco
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
Adobati Omar
omar.adobati@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org