Re: Tomcat High CPU consommation

2009-07-29 Thread Juha Laiho
b.henr...@pepperone.be wrote: > We have sometimes Tomcat (5.x) who consume all the CPU (or 50 %) of the > CPU constantly in our productions servers (Linux or Windows). Adding to the thread dump mentioned by Leon, on Linux you can run "ps -fLp " to see CPU time usage per thread. Running this twice

Re: Tomcat High CPU consommation

2009-07-29 Thread Leon Rosenberg
From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Sent: mercredi 29 juillet 2009 11:13 > To: Tomcat Users List > Subject: Re: Tomcat High CPU consommation > > Hello Benjamin, > > This sounds like an infinite loop - a bug in your application. This can > happen &

RE: Tomcat High CPU consommation

2009-07-29 Thread B.Henriet
2009 11:13 To: Tomcat Users List Subject: Re: Tomcat High CPU consommation Hello Benjamin, This sounds like an infinite loop - a bug in your application. This can happen if you don't use synchronization properly, for example write and read to/from Hashmap without synchronization from 2 par

Re: Tomcat High CPU consommation

2009-07-29 Thread Leon Rosenberg
Hello Benjamin, This sounds like an infinite loop - a bug in your application. This can happen if you don't use synchronization properly, for example write and read to/from Hashmap without synchronization from 2 parallel threads. When you detect this behaviour again, create a full thread dump by s