Re: Maximum number of JSP ?

2014-05-14 Thread Sylvain Goulmy
Can you disclose what monitoring tool you use and explain how it impacted the measured value? Interesting. What monitoring tool are you using? The monitoring tool used is Introscope from CA. You need to pay attention to the Deep Inheritance parameter. And, did it make a difference?

Re: Maximum number of JSP ?

2014-05-05 Thread Sylvain Goulmy
Hi Christopher, Thank you for your contribution to this thread. I think we we have made good progress on the subject, here are some elements i'd like to share : - The fact that the response time was increasing with the the number of JSP loaded was linked to our monitoring tool... This tool

Re: Maximum number of JSP ?

2014-05-05 Thread Robert Klemme
Hi Sylvain, thank you for sharing all these details! On Mon, May 5, 2014 at 3:22 PM, Sylvain Goulmy sygou...@gmail.com wrote: Hi Christopher, Thank you for your contribution to this thread. I think we we have made good progress on the subject, here are some elements i'd like to share : -

Re: Maximum number of JSP ?

2014-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sylvain, On 5/5/14, 9:22 AM, Sylvain Goulmy wrote: Thank you for your contribution to this thread. I think we we have made good progress on the subject, here are some elements i'd like to share : - The fact that the response time was

Re: Maximum number of JSP ?

2014-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sylvain, This thread is bit old, but there were no conclusions si I figured I'd pick it back up. On 4/11/14, 11:52 AM, Sylvain Goulmy wrote: Thank you all for your returns. Maybe also, just to give us an idea, you could tell us how much

Re: Maximum number of JSP ?

2014-04-14 Thread Sylvain Goulmy
Can you post the contents of your JSP? No, i can't publish the code of this JSP. So what is your point? Nothing specific, i just answered the question, we hadn't this problem when the application was running of Websphere. Right now i give priority to a scenario where the PermGen is large

Re: Maximum number of JSP ?

2014-04-11 Thread André Warnier
Sylvain Goulmy wrote: Hi, I'm facing performance issue with my application which loads a very large number of different JSPs (ie 16 000). As the application loads the different JSP, the response time becomes longer and the CPU increases. I have tried many configurations by modifying the

RE: Maximum number of JSP ?

2014-04-11 Thread Dutta, Abhishek
16000 objects co-existing at the same time unused which is overloading the server. Any suggestions/remarks ? -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, April 11, 2014 7:01 PM To: Tomcat Users List Subject: Re: Maximum number of JSP ? Sylvain Goulmy wrote

Re: Maximum number of JSP ?

2014-04-11 Thread Mikolaj Rydzewski
On 11.04.2014 15:31, André Warnier wrote: As far as I first understand such things, each of these JSP's gets compiled into a servlet, and the code of that servlet is held in memory for an extended period of time, even if unused at any particular moment. So this is 16000 servlets probably

Re: Maximum number of JSP ?

2014-04-11 Thread André Warnier
Any suggestions/remarks ? Yes, don't top-post. So I'll move you, to show you how it's done here. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, April 11, 2014 7:01 PM To: Tomcat Users List Subject: Re: Maximum number of JSP ? Sylvain Goulmy wrote

Re: Maximum number of JSP ?

2014-04-11 Thread Konstantin Kolinko
2014-04-11 16:58 GMT+04:00 Sylvain Goulmy sygou...@gmail.com: Hi, I'm facing performance issue with my application which loads a very large number of different JSPs (ie 16 000). As the application loads the different JSP, the response time becomes longer and the CPU increases. I have tried

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 6:46 AM, Dutta, Abhishek abhishek.du...@capgemini.com wrote: Hi, I am not very sure . But I guess If we consider the servlet lifecycle the servlet is not supposed to get instantiated until requested for . The question is, do the JSP pages contain static text or JSP

Re: Maximum number of JSP ?

2014-04-11 Thread Robert Klemme
On Fri, Apr 11, 2014 at 3:41 PM, Mikolaj Rydzewski m...@ceti.pl wrote: On 11.04.2014 15:31, André Warnier wrote: As far as I first understand such things, each of these JSP's gets compiled into a servlet, and the code of that servlet is held in memory for an extended period of time, even if

Re: Maximum number of JSP ?

2014-04-11 Thread Mikolaj Rydzewski
On 11.04.2014 17:22, Robert Klemme wrote: JSP _is_ a templating mechnism. In what way do you expect another templating mechanism to help here? All the strings (among other stuff) need to be stored somewhere in memory anyway. Well, IMHO JSP is not only a templating mechanism. It's also a

Re: Maximum number of JSP ?

2014-04-11 Thread Robert Klemme
On Fri, Apr 11, 2014 at 5:35 PM, Mikolaj Rydzewski m...@ceti.pl wrote: On 11.04.2014 17:22, Robert Klemme wrote: JSP _is_ a templating mechnism. In what way do you expect another templating mechanism to help here? All the strings (among other stuff) need to be stored somewhere in memory

Re: Maximum number of JSP ?

2014-04-11 Thread Sylvain Goulmy
Hi, Thank you all for your returns. Maybe also, just to give us an idea, you could tell us how much memory that system has, and how much is given to use by Tomcat ? Xmx is 1500 Mo. The PermSize is set so that it can easily load the max number of JSP set with the maxLoadedJsp (set to 5000)

Re: Maximum number of JSP ?

2014-04-11 Thread Leo Donahue
On Fri, Apr 11, 2014 at 8:52 AM, Sylvain Goulmy sygou...@gmail.com wrote: 4. Here is the behaviour that i observed : i request the URL of a jsp in a loop. The content of this JSP is always the same but it's name is different in each URL so that it is considered as a new one. Can you post