> 
> 1.    What can he do to enable Tomcat to make use of
> all 4 processors?

I dont know of an answer to that one.  I think it is
impossible unless you have a JVM that will use 4
procs...  Sun doesnt seem to do this.

> 
> 2.    If a single instance of Tomcat can't make use of
> multiple
> processors, is it possible to set up multiple Tomcat
> services, each tied
> to a processor [I understand completely how to set
> up multiple Tomcat
> services, I just don't know how to tie them to a
> specific processor]?

Yes, this is what we do on linux.  Just setup the
services, and let the operating system do the rest. 
Since you have multiple processes, the OS will see
them both being used and put them on separate
processors (well... Linux is smart enough to do it,
who know about Windows.  JK :) )

I believe the reason is that one JDK process is run
and Tomcat is multithreaded.  if you had multiprocess
and you had static variables that you needed one copy
of, you would need RMI or messaging or something and
it would be more complicated.

Actually what we do is we have several apps on one
box, and we put some in one Tomcat instance, and some
in the other.  Works fine.

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to