Can you pinpoint what you do just before the CPU hits 99.9% or does it use up all CPU as soon as you start tomcat and the app is deployed ?
On 6/22/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
Hi all I am developing a web application with Java 5, Tapestry 4.0.2, Commons DBCP 1.2.1, Tomcat 5.5.17 and MySQL 5.0.19. While I develop my application I noticed a strange behaviour: Java usage suddenly climbs up to 99.9% and never goes down. The server (RHLE) is fine and responsive, but Tomcat stops responding to requests. If I deploy a new war file, he won't uncompact it, if I try to access a web page, he won't serve it, if shut it down, the process will continue running. I have to kill -9 to get rid of it. I believe this problem is with Tapestry because it happens on all the servers I deploy the application. It happens on the development server and on my laptop running Ubuntu Dapper and Java 6. My laptop has no problem running other Java applications for as long as I need them, like JEdit and Aquadata Studio. The development server used to have a JSP based website that also worked withouth a problem, except for the common developer mistakes. Is there a way for me to diagnose whats happening? Any special flags to pass to the VM or some über-secret-hidden log you know about? -- Cumprimentos, Rui Pacheco