Re: Tomcat using only 1 cpu

2006-07-28 Thread David Rees
On 7/27/06, Guilherme Silveira [EMAIL PROTECTED] wrote: If running CpuTest once gives you 25% its a OS/java problem. If it gives you 100%... its tomcat's fault... This particular problem is not likely to be Tomcat's fault, it's most likely a synchronization/perfromance bug in the

Tomcat using only 1 cpu

2006-07-27 Thread Landon Fabbricino
Hello, We have been experiencing an issue where tomcat (jsvc) is only utilizing one CPU rather then the four available. I happened to notice that it was only using 1 CPU when the server was slowed to a crawl and only 25% of the server CPU's (4 of them) was being used. We have been experiencing

Re: Tomcat using only 1 cpu

2006-07-27 Thread Guilherme Silveira
You can probably check if its tomcat's fault or some OS or virtual machine problem by creating an intensive program to check for 100% cpu usage: public class CpuTest { public static void main(String[] args) { for(int i=0;i4;i++) new Thread(new Loader()).start(); } } class Loader implements