Re: Tomcat problem on a multiple CPU system

2008-05-06 Thread Leon Rosenberg
David Smith [mailto:[EMAIL PROTECTED] > Sent: 4 mai 2008 23:00 > To: Tomcat Users List > Subject: Re: Tomcat problem on a multiple CPU system > > Can you describe how you open the 8 browser windows and what browser you > > are using? I ask because those 8 browser windows may b

Re: Tomcat problem on a multiple CPU system

2008-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gilbert, Gilbert, Antoine wrote: | My english is not very good, I'll try to explain again | | For example, my test outside of Tomcat | | for(int i=0;i<8;i++){ | Thread t = new Thread(new Runner()); | t.setDaemon(true); | t.start()

RE: Tomcat problem on a multiple CPU system

2008-05-05 Thread Gilbert, Antoine
Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 5 mai 2008 07:26 To: Tomcat Users List Subject: Re: Tomcat problem on a multiple CPU system Gilbert, Antoine wrote: > I open 8 IE on a remote computer, basically once a JSP is called, the > browser is just waiting th

Re: Tomcat problem on a multiple CPU system

2008-05-05 Thread Mark Thomas
Gilbert, Antoine wrote: I open 8 IE on a remote computer, basically once a JSP is called, the browser is just waiting the process to be done. Use ieHttpHeaders, the AccessLogValve or similar to check when the requests are actually being sent. I suspect that, as David suggested that you have n

RE: Tomcat problem on a multiple CPU system

2008-05-05 Thread Gilbert, Antoine
I open 8 IE on a remote computer, basically once a JSP is called, the browser is just waiting the process to be done. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 4 mai 2008 23:00 To: Tomcat Users List Subject: Re: Tomcat problem on a multiple CPU system Can you

Re: Tomcat problem on a multiple CPU system

2008-05-04 Thread David Smith
rocesses run betters than these 8 process within Tomcat ? -Original Message- From: Alan Chaney [mailto:[EMAIL PROTECTED] Sent: 4 mai 2008 17:33 To: Tomcat Users List Subject: Re: Tomcat problem on a multiple CPU system Hi Antoine The thing to remember is that this is a system which

RE: Tomcat problem on a multiple CPU system

2008-05-04 Thread Gilbert, Antoine
y well... Antoine -Original Message- From: Gilbert, Antoine Sent: 4 mai 2008 20:20 To: Tomcat Users List Subject: RE: Tomcat problem on a multiple CPU system Well, each process is a image rendering process. But my point is, if I launch 8 threads directly in a JVM outside of tomcat, it run fast

RE: Tomcat problem on a multiple CPU system

2008-05-04 Thread Gilbert, Antoine
x27;m unable to make my tomcat use efficiently all my CPU. So the big question, why these 8 processes run betters than these 8 process within Tomcat ? -Original Message- From: Alan Chaney [mailto:[EMAIL PROTECTED] Sent: 4 mai 2008 17:33 To: Tomcat Users List Subject: Re: Tomcat probl

Re: Tomcat problem on a multiple CPU system

2008-05-04 Thread Yuval Perlov
Perhaps you have some contention between the threads or intensive IO. Can you elaborate a little about the servlet job? Time it takes, kind of processing it does, etc. Yuval Perlov R-U-ON On May 4, 2008, at 11:21 PM, Gilbert, Antoine wrote: Hi I have a 2x quad core (8 cpu units) server

Re: Tomcat problem on a multiple CPU system

2008-05-04 Thread Alan Chaney
Hi Antoine The thing to remember is that this is a system which has (at least) four main parts: 1. Tomcat 2. The operating system 3. A network connection 4. Your application (and potentially) 5. A database (but you didn't mention that) Here are some questions. 1. How do you make the connec

Tomcat problem on a multiple CPU system

2008-05-04 Thread Gilbert, Antoine
Hi I have a 2x quad core (8 cpu units) server. If I start a java program and this one is launching (at the same time) 8 thread doing some CPU intensive jobs, all the CPU are used at 100%, and that's what I'm expecting.. But, if I am using tomcat, and I call a servlet 8 times to process