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
classpath?
Do you have
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 startup script? Or has
conf
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
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 redo the strace
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
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 stat64(/net/ims/jcms
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 if I can find anything
interesting
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 core Java classes in an imaginary
...@christopherschultz.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
Is this machine running next to any equipment that
generates a lot of stray alpha particles? :)
Nearby won't do it for alpha particles - they have to come from inside.
Dark matter then. Like dark
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 Tomcat instance.
I'm still
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 in the (rather suspect) classes
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 about my issue.
Run jstack several
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
Is this machine running next to any equipment that
generates a lot of stray alpha particles? :)
Nearby won't do it for alpha particles - they have
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
jasper using that for anything
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
Is this machine running next to any equipment that
generates a lot of stray alpha particles? :)
Nearby won't do
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 options.
Not related; Rainer's
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
[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 outside of Tomcat's
18 matches
Mail list logo