Re: very slow class loading on initial JSP/servlet request afterrestart

2009-02-26 Thread Sam Hokin
Caldarale, Charles R wrote: Do you have a CLASSPATH environment variable set for the Tomcat process? (You shouldn't.) Or is there a plain / in the -cp argument in the Tomcat startup script? Or has conf/catalina.properties been modified to include the file system root? Any of those are a rea

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-26 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: very slow class loading on initial JSP/servlet > request afterrestart > > Do you have a CLASSPATH environment variable set for the > Tomcat process? (You shouldn't.) Or is there a plain / in the -cp argument in the Tomcat startu

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-26 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > Sure enough, / appears in the classpath for the ROOT webapp, So that appears to be the sole remaining question: why is there a / in JDT's class

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-25 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > It looks like we've boiled the problem, at least in this test > JSP case, down to the classloader wasting 3 seconds per > try on stat-ing

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-25 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > The only place classes are stored under /net/ims/jcms > is within WEB-INF/lib/jcms.jar. I'll poke around in the webapp classloader to see

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-25 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > I have no idea how to interpret all the wheel-spinning that > goes on in between. The key lines have a 3+ second response time: 2498 15:24:35 sta

Re: very slow class loading on initial JSP/servlet request afterrestart

2009-02-25 Thread André Warnier
Caldarale, Charles R wrote: From: Sam Hokin [mailto:s...@ims.net] Subject: Re: very slow class loading on initial JSP/servlet request afterrestart http://www.ims.net/media/strace-test6-stall.txt So what's going on during the frequent 11-second gaps? (Was Rosemary Woods here?) They ar

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-25 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > http://www.ims.net/media/strace-test6-stall.txt So what's going on during the frequent 11-second gaps? (Was Rosemary Woods here?) Might want to

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-24 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > But, clearly, the key diagnostic issue is finding out WHAT is > going on during the delay that a JSP incurs when it is > first requested of a given Tom

Re: very slow class loading on initial JSP/servlet request afterrestart

2009-02-20 Thread Sam Hokin
From: Sam Hokin [mailto:s...@ims.net] Subject: Re: very slow class loading on initial JSP/servlet request afterrestart I'm going to play with File.exists() in this and the other servers to see if there is some generic problem with file access on the slow server. Make sure to try both in and

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-20 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > I'm going to play with File.exists() in this and the other > servers to see if there is some generic problem with file > access on the slow

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-20 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > If it may help, I remember seeing an earlier thread this > week, I believe answered by Rainer Jung, providing some > fancy compilations

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-20 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > We now know it's hanging on java.io.File.exists() The file of interest couldn't be /dev/random, could it? (I can't imagine jaspe

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-20 Thread Caldarale, Charles R
> From: Sam Hokin [mailto:s...@ims.net] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > Well, I have used a number of diagnostics, like jconsole, > jstat and jhat, but haven't been able to glean anything > informative from them a

RE: very slow class loading on initial JSP/servlet request afterrestart

2009-02-20 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: very slow class loading on initial JSP/servlet > request afterrestart > > Does that mean that possibly 8 threads (or more) are all > (rather busily) waiting for something in relation to some > initialisation i