tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur_1805 <sur_1...@yahoo.co.in>
Subject RE: Installing tomcat on multiple cpu X_86 64 bit machine
Date Tue, 06 May 2008 14:00:03 GMT



Peter Crowther wrote:
> 
>> From: sur_1805 [mailto:sur_1805@yahoo.co.in]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

thanks peter for you information. i m using linux(RHEL 5) with 16 GB RAM.Is
it possible to split the JVM off into multiple processes for the hundreds of
threads we end up running?
How much memory i have to allocate to heap memory that is sufficient and do
not become the major performance bottleneck.?


-- 
View this message in context: http://www.nabble.com/Installing-tomcat-on-multiple-cpu-X_86-64-bit-machine-tp17082098p17083155.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message