Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » First page load takes a long time
First page load takes a long time [message #758204] Tue, 22 November 2011 10:32 Go to next message
Preethi  is currently offline Preethi Friend
Messages: 4
Registered: November 2011
Junior Member
Hi,

I have a standard war deployed on virgo. It doesn't have dependencies on any other bundles. The first time a page loads it takes about 20 to 30 secs while subsequent requests are very responsive. Profiling using Yourkit gave us the following hotspots:

org.eclipse.virgo.osgi.extensions.equinox.hooks.ExtendedBundleFileWrapperFactoryHook$FileResourceEnforcingBundleFile.getEntry(String)
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(String)
java.util.zip.ZipFile.<init>(File)
org.eclipse.osgi.framework.internal.core.BundleHost.getResource(String)
org.springframework.osgi.util.BundleDelegatingClassLoader.findResource(String)

On probing file io, we see that the actual file read for each class/jsp takes about 1 or 2 milliseconds.

Any ideas on why the page takes a long time to load the first time it is requested?

Thanks,
Preethi
Re: First page load takes a long time [message #758205 is a reply to message #758204] Tue, 22 November 2011 10:38 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Which version of Virgo are you running? (I would like to determine whether you are running with the fix for slow JSP compilation, which was shipped in 3.0)
Re: First page load takes a long time [message #758227 is a reply to message #758205] Tue, 22 November 2011 11:45 Go to previous messageGo to next message
Preethi  is currently offline Preethi Friend
Messages: 4
Registered: November 2011
Junior Member
We are using 3.0.1
Re: First page load takes a long time [message #758245 is a reply to message #758227] Tue, 22 November 2011 12:32 Go to previous messageGo to next message
Preethi  is currently offline Preethi Friend
Messages: 4
Registered: November 2011
Junior Member
Here is the link to the Yourkit CPU telemetry snapshot: mediafire.com/?m48qqaat9rh8wea
Re: First page load takes a long time [message #758583 is a reply to message #758245] Wed, 23 November 2011 18:31 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
Could you please create a bug (https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Virgo) and we can continue the investigation there?

Thanks
Violeta
Re: First page load takes a long time [message #759017 is a reply to message #758583] Fri, 25 November 2011 15:26 Go to previous message
Preethi  is currently offline Preethi Friend
Messages: 4
Registered: November 2011
Junior Member
I have reported it here: bugs.eclipse.org/bugs/show_bug.cgi?id=364847
Previous Topic:Unable to satisfy dependencies of bundle 'com.springsource.org.apache.xerces'
Next Topic:Virgo 3.0.1 greenpages 2.4 build problems in STS 2.8
Goto Forum:
  


Current Time: Fri Apr 19 22:05:01 GMT 2024

Powered by FUDForum. Page generated in 0.03512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top