Skip to main content



      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 05:32 Go to next message
Eclipse UserFriend
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 05:38 Go to previous messageGo to next message
Eclipse UserFriend
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 06:45 Go to previous messageGo to next message
Eclipse UserFriend
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 07:32 Go to previous messageGo to next message
Eclipse UserFriend
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 13:31 Go to previous messageGo to next message
Eclipse UserFriend
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 10:26 Go to previous message
Eclipse UserFriend
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 May 16 14:19:47 EDT 2025

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

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

Back to the top