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 applicat

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;i<4;i++) new Thread(new Loader()).start(); } } class Loader implements