Re: Running Tomcat on multiple processors on Windows 2003

2005-04-19 Thread Chris Hyzer
Huh? The Sun 1.3, 1.4, and 5.0 JVMs use all 32 of the CPUs on our systems quite nicely. What may be going on is that some administrator has set Windows' CPU affinity to restrict all threads of a given process to a single CPU. - Chuck We have a recent and up2date Linux Redhat

RE: Running Tomcat on multiple processors on Windows 2003

2005-04-19 Thread Caldarale, Charles R
From: Chris Hyzer [mailto:[EMAIL PROTECTED] Subject: Re: Running Tomcat on multiple processors on Windows 2003 I thought Java used native threads by default, or at least green threads on top of native threads (one-to-one), so Im not sure how this fits in... The green thread mechanism

RE: Running Tomcat on multiple processors on Windows 2003

2005-04-19 Thread Trice, Jim
Subject: Re: Running Tomcat on multiple processors on Windows 2003 Huh? The Sun 1.3, 1.4, and 5.0 JVMs use all 32 of the CPUs on our systems quite nicely. What may be going on is that some administrator has set Windows' CPU affinity to restrict all threads of a given process to a single CPU

RE: Running Tomcat on multiple processors on Windows 2003

2005-04-19 Thread Chris Hyzer
Chris, When running top you can toggle displaying individual threads by hitting H. Also, you can see threads using ps with the -m switch. Jim T. OK thanks, that is useful for visibility into threads vs processes. But I would think that if the CPU usage in top is 50% when one tomcat

RE: Running Tomcat on multiple processors on Windows 2003

2005-04-19 Thread Caldarale, Charles R
From: Chris Hyzer [mailto:[EMAIL PROTECTED] Subject: RE: Running Tomcat on multiple processors on Windows 2003 ... so if we can get to 100% CPU usage on both CPUs with one tomcat running under load, that would be great. How about trying a simple two-thread Java program, where each thread

Running Tomcat on multiple processors on Windows 2003

2005-04-18 Thread Steven Heckler
Hi, All, A client of mine is having trouble getting Tomcat 4.1.27 to make use of multiple processors on his quad processor system under Windows 2003. My questions: 1. What can he do to enable Tomcat to make use of all 4 processors? 2. If a single instance of Tomcat can't make

Re: Running Tomcat on multiple processors on Windows 2003

2005-04-18 Thread Chris Hyzer
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,

RE: Running Tomcat on multiple processors on Windows 2003

2005-04-18 Thread Caldarale, Charles R
From: Chris Hyzer [mailto:[EMAIL PROTECTED] Subject: Re: Running Tomcat on multiple processors on Windows 2003 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. Huh? The Sun 1.3, 1.4, and 5.0 JVMs

RE: Tomcat and multiple processors

2003-10-14 Thread Shapira, Yoav
Howdy, afaik, one java + tomcat instance consumes a lot of memory. i.e. i set it It depends on your setup: how many webapps, how much memory they need, how many connectors, how many processing threads, etc. Tomcat can run with a small (8MB) memory footprint with a small webapp and one coyote

RE: Tomcat and multiple processors

2003-10-14 Thread sun zheng
RE: Tomcat and multiple processors - max 512MB and startup 256MB.. as previous people of the thread said, you always install many tomcat so that one instance for one java application, because

RE: Tomcat and multiple processors

2003-10-14 Thread Shapira, Yoav
Howdy, I hope the problem was from memory leak.. however, I do feel it really needs such much memory. OK, some apps do need a lot of memory ;) That's legitimate. what I am intending to do is to create more and more environment for testing. As we get new release of our application once a week,

RE: Tomcat and multiple processors

2003-10-14 Thread sun zheng
- Have one tomcat/JBoss instance. - Deploy multiple webapps to it, using the release number as part of the webapp name, e.g. myapp-1.0, myapp-1.1, myapp-1.2. - Have the testers use the tomcat

RE: Tomcat and multiple processors

2003-10-14 Thread Shapira, Yoav
Howdy, Sorry my typo: I meant a small data set, not a result data set ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: sun zheng [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and multiple processors

RE: Tomcat and multiple processors

2003-10-14 Thread sun zheng
# Sorry my typo: I meant a small data set, not a result data set ;) : wellwell, it can not help us.. with best wishes Zheng Sun _ The new MSN 8: smart spam protection and 2 months FREE*

Re: Tomcat and multiple processors

2003-10-13 Thread sun zheng
afaik, one java + tomcat instance consumes a lot of memory. i.e. i set it to max 512MB and startup 256MB.. as previous people of the thread said, you always install many tomcat so that one instance for one java application, because it only uses much disk ?? I thought it costs too much memory

Re: Tomcat and multiple processors

2003-09-05 Thread Marco Tedone
It would be nice :) - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 05, 2003 12:07 AM Subject: Re: Tomcat and multiple processors (1) Install TC as many times as you need JVM instances; (2) for each instance, rename home

Re: Tomcat and multiple processors

2003-09-05 Thread Fred Kreek
curious as to how it all works :) Thanx in advance! Russ -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:16 PM To: Tomcat Users List Subject: Re: Tomcat and multiple processors Matt Raible wrote: 1. Does

Re: Tomcat and multiple processors

2003-09-05 Thread Fred Kreek
Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 05, 2003 12:07 AM Subject: Re: Tomcat and multiple processors (1) Install TC as many times as you need JVM instances; (2) for each instance, rename home before proceeding with another installation

Tomcat and multiple processors

2003-09-04 Thread Matt Raible
We are getting ready to deploy a number of applications to Tomcat - I'm pretty familiar with Tomcat and Java, but have a couple of questions: 1. Does it support multiple processors? We have a Tomcat instance in production on a NT box with 4 processors, but Tomcat only seems to use one. Does the

RE: Tomcat and multiple processors

2003-09-04 Thread Shapira, Yoav
Hola, 1. Does it support multiple processors? We have a Tomcat instance in production on a NT box with 4 processors, but Tomcat only seems to use one. Does the 1.4.2 JVM support MP? As you guessed in your question, MP support is much more VM-specific than app-specific. Tomcat doesn't have

Re: Tomcat and multiple processors

2003-09-04 Thread John Turner
Matt Raible wrote: 1. Does it support multiple processors? We have a Tomcat instance in production on a NT box with 4 processors, but Tomcat only seems to use one. Does the 1.4.2 JVM support MP? Yes, at least on Sun hardware with Solaris 8, and Intel hardware with RH Linux 7.x (duals only...we

RE: Tomcat and multiple processors

2003-09-04 Thread Angus Mezick
3. We plan on deploying 42+ applications to a number of Tomcat servers. Since each application will support 1 customer - I think it's a good idea to have 1 app - 1 tomcat - so if Tomcat crashes, it only affects that customer - rather than all customers. I've heard of setting up a

RE: Tomcat and multiple processors

2003-09-04 Thread Pitre, Russell
works :) Thanx in advance! Russ -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:16 PM To: Tomcat Users List Subject: Re: Tomcat and multiple processors Matt Raible wrote: 1. Does it support multiple processors? We have a Tomcat

Re: Tomcat and multiple processors

2003-09-04 Thread achana
:) Thanx in advance! Russ -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:16 PM To: Tomcat Users List Subject: Re: Tomcat and multiple processors Matt Raible wrote: 1. Does it support multiple processors? We have a Tomcat

RE: Tomcat and multiple processors

2003-09-04 Thread Ralph Einfeldt
in CATALINA_BASE not in CATALINA_HOME.) -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 10:16 PM To: Tomcat Users List Subject: Re: Tomcat and multiple processors 1 virtual host = 1 Tomcat instance = 1 VM = 1 application We've had

RE: Tomcat and multiple processors

2003-09-04 Thread Ralph Einfeldt
as to how it all works :) Thanx in advance! Russ -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:16 PM To: Tomcat Users List Subject: Re: Tomcat and multiple processors Matt Raible wrote: 1. Does it support