Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Tomcat thread management like Apache mpm-worker

Caldarale, Charles R

2007-07-13

Replies:

> From: Miguel Angel Tormo [mailto:mlists@(protected)]
> Subject: Tomcat thread management like Apache mpm-worker
>
> I ask that question because I am using Tomcat 5.5 with JDK
> 1.4 in Linux 2.6 and I have only one process running, so it
> is using only one CPU for all the threads. Am I wrong here?

Yes, you are wrong - unless your OS supports some form of thread-CPU
affinity, and you have enabled that. Each Tomcat thread corresponds to
a native thread, so unless some aspect of the OS is preventing use of
the multiple CPUs, the Tomcat threads will use all resources available,
if needed.

- 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 start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.