tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <>
Subject RE: Installing tomcat on multiple cpu X_86 64 bit machine
Date Tue, 06 May 2008 12:58:00 GMT
> From: sur_1805 []
> 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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message