> From: Bruce Foster [mailto:gis.fos...@gmail.com]
> Subject: Re: Newbie, tomcat performance tuning
> 
> 1. Need to get JDK and not JRE, latest version of JDK and use the
> "server" version

Tomcat only needs the JRE, but the JDK contains some interesting tools that you 
may find useful.  Make sure you get a 1.6 or later level of either.  If you're 
running on a 64-bit platform, use the 64-bit JRE/JDK.  If you do use a 64-bit 
JVM, only the server mode is available.

> 2. Look at the connector pool

The above is ambiguous, since it could refer to either the HTTP/HTTPS 
connector, or database connections.

> 3. Need to modify the heap size, with 12GB ram and NO other
> application running I will allocate 6GB ram as Max and Min for JVM.

You cannot set the heap anywhere near that large unless you're running on a 
64-bit JVM.

> do I need to look at the server threads? if yes then where to I set
> that option?

In the <Connector> or <Executor> elements in server.xml.

> read somewhere tomcat with 8 thread (8 core processor), how do I
> configure that option?

Read Peter's response.  You will need way more than 8 threads in any real-world 
environment.  The JVM will use as many cores as are available.

 - 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

Reply via email to