Re: Lots of JspRuntimeContext threads

2007-04-10 Thread Adam Rabung
Based on my reading of the javadoc and source, I expected 1 "JspRuntimeContext" thread per context when the following conditions were met: 1. development is true and checkInterval is greater than 0 for JspServlet 2. The webapp is a directory However, I seem to get arbitrary numbers of these threa

Re: Lots of JspRuntimeContext threads

2007-04-09 Thread Mark Thomas
Adam Rabung wrote: > I _know_ I'll eventually discover this is some configuration problem > on my end, I'm just trying to understand the life-cycle of the > JspRuntimeContext to help me track it down. I'm still stumped. I should have looked at the code rather than relying on my dodgy memory. This

Re: Lots of JspRuntimeContext threads

2007-04-09 Thread Adam Rabung
Adam Rabung wrote: Any advice would be much appreciated. Had the contexts been reloaded at any point? If so, is there a rough correlation between the number of threads per context and the number of reloads? Mark Hi, Thanks for the follow-up. If we do a "fresh" start (ie service restart rath

Re: Lots of JspRuntimeContext threads

2007-04-07 Thread Mark Thomas
Adam Rabung wrote: > Any advice would be much appreciated. Had the contexts been reloaded at any point? If so, is there a rough correlation between the number of threads per context and the number of reloads? Mark - To start a n

Lots of JspRuntimeContext threads

2007-04-04 Thread Adam Rabung
Hello, Tomcat 5.5.9/Windows XP/Java 1.5_11 I have a Tomcat running about 16 contexts. A few of them are fairly busy. We recently had a "Out of memory: unable to create new native thread" Exception. At the time, we had roughly 500 threads in the VM. Of that, 147 were named "JSPRuntimeContext[\]