Re: tomcat slowing down

2012-05-23 Thread George Sexton
Just out of idle curiosity, are you running in a virtual server? On 5/16/12 6:49 AM, Christian Kaufhold wrote: Hi, we have the problem that tomact is slowing down after a while until even the manager app becomes unusable. Our System: 2 Quadcores/24 GB Mem OpenSuse 11.4 tomcat 6.0.29

Re: tomcat slowing down

2012-05-23 Thread Christian Kaufhold
Hi George, No its just a plain server. I used selenium and probe to check the issue. Its definitely a Memory leak problem. I try to find the leaks now. Von meinem iPad gesendet Am 23.05.2012 um 18:42 schrieb George Sexton geor...@mhsoftware.com: Just out of idle curiosity, are you running

Re: tomcat slowing down

2012-05-17 Thread Christian Kaufhold
Hi Mikolaj, thanks I will do that, do you know a free tool to generate request for the simulation of about 30 clients being connected? Am 16.05.2012 um 21:49 schrieb Mikolaj Rydzewski: On 05/16/2012 05:35 PM, Christian Kaufhold wrote: its not intentional but the myfaces App runs on the

Re: tomcat slowing down

2012-05-17 Thread Christian Kaufhold
Hi Warren, thanx, but I think session size is not an issue with 30 users since Tomcat has about 2 GB memory. But who knows, do you know a way to check the size of a session in tomcat? christian Am 17.05.2012 um 00:44 schrieb Warren Bell: Here is a good link explaining some of the pros and

Re: tomcat slowing down

2012-05-17 Thread Pid *
On 17 May 2012, at 07:42, Christian Kaufhold kaufhol...@googlemail.com wrote: Hi Mikolaj, thanks I will do that, do you know a free tool to generate request for the simulation of about 30 clients being connected? JMeter p Am 16.05.2012 um 21:49 schrieb Mikolaj Rydzewski: On

Re: tomcat slowing down

2012-05-17 Thread Mikolaj Rydzewski
On 17.05.2012 09:29, Christian Kaufhold wrote: But who knows, do you know a way to check the size of a session in tomcat? Psi probe allows to peek into the session (not exactly the size). http://psi-probe.googlecode.com/svn/wiki/Features/session-attributes.png -- Mikolaj Rydzewski

Re: tomcat slowing down

2012-05-17 Thread Konstantin Kolinko
2012/5/17 Mikolaj Rydzewski m...@ceti.pl: On 17.05.2012 09:29, Christian Kaufhold wrote: But who knows, do you know a way to check the size of a session in tomcat? Psi probe allows to peek into the session (not exactly the size).

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 14:49, Christian Kaufhold wrote: What can we do to analyse the problem? Make a thread dump (kill -3 jvm pid). Information usually will be written to catalina.out. You can use jvisualvm tool to capture threads, memory snapshots, etc. -- Mikolaj Rydzewski m...@ceti.pl

Re: tomcat slowing down

2012-05-16 Thread Daniel Mikusa
- Original Message - Hi, we have the problem that tomact is slowing down after a while until even the manager app becomes unusable. Our System: 2 Quadcores/24 GB Mem OpenSuse 11.4 tomcat 6.0.29 wicket/hibernate/postgres Max Memory and total Memory 2GB Free Momory 500 MB

RE: tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: Christian Kaufhold [mailto:kaufhol...@googlemail.com] Subject: tomcat slowing down What can we do to analyse the problem? Start by taking a thread dump to find out what's going on inside the JVM.

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 16:46, Christian Kaufhold wrote: I made a thread dump off the slow server. You need to investigate it with application developers. Examine all threads and confirm whether application behaves correctly or not. It looks you have some ajax requests - maybe they are executed to

Re: tomcat slowing down

2012-05-16 Thread André Warnier
Mikolaj Rydzewski wrote: On 16.05.2012 16:46, Christian Kaufhold wrote: I made a thread dump off the slow server. You need to investigate it with application developers. Examine all threads and confirm whether application behaves correctly or not. It looks you have some ajax requests

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 17:11, André Warnier wrote: Mikolaj Rydzewski wrote: It looks you have some ajax requests Just curious : how do you see that from the OP's stack trace ? Just a guess, maybe I'm wrong: org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180) at

Re: tomcat slowing down

2012-05-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 5/16/12 11:00 AM, Mikolaj Rydzewski wrote: On 16.05.2012 16:46, Christian Kaufhold wrote: I made a thread dump off the slow server. You need to investigate it with application developers. +1 I did notice some of the threads

Re: tomcat slowing down

2012-05-16 Thread Christian Kaufhold
Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or so. I have no idea of whats going on... 2012/5/16 Christopher Schultz

Re: tomcat slowing down

2012-05-16 Thread André Warnier
Christian Kaufhold wrote: Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or so. I have no idea of whats going on...

Re: tomcat slowing down

2012-05-16 Thread Pid
On 16/05/2012 16:50, André Warnier wrote: Christian Kaufhold wrote: Hi Christopher, its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 05/16/2012 05:35 PM, Christian Kaufhold wrote: its not intentional but the myfaces App runs on the server for years now and should not cause the problem I recently deployed a wicket app and now the server is slowing down when we have about 10 users or so. So there are two different

Re: tomcat slowing down

2012-05-16 Thread Warren Bell
A Wicket app that is not written correctly can suck up resources. Wicket keeps track of pages a user has been on by serializing them, back button support. If a page has references to other objects, it serializes them and so on and so on. It can get real ugly real quick. Wicket has many built-in

Re: tomcat slowing down

2012-05-16 Thread Warren Bell
Here is a good link explaining some of the pros and cons of Wicket. Look at the part titled Wicket Session size! http://www.small-improvements.com/10-things-about-apache-wicket-i-love Thanks, Warren Bell On 5/16/12 12:49 PM, Mikolaj Rydzewski wrote: On 05/16/2012 05:35 PM, Christian Kaufhold