> From: sur_1805 [mailto:[EMAIL PROTECTED]
> i m very new to tomcat. Now i have to install the tomcat 5.5
> and jdk 1.5 on a
> multiple cpu( 4 dual core processors) 64 bit machine.
> i m confused with first step. how i tune the tomcat and do
> load balancing
> such that tomcat servlet make use of all the 4 processors
> when i perform multiple request.
> whether tomcat uses all the cpu or not?
> please help me for the same.

Tomcat uses one Java thread for each concurrent connection, up to the 
maxThreads setting in conf/server.xml.  If the load is high enough, and 
assuming your operating system recognises all the CPUs (you don't say which OS 
you are using), Java and hence Tomcat will use all cores on all processors 
automatically; you do not need to do anything to enable this.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to