First page load takes a long time [message #758204] |
Tue, 22 November 2011 05:32  |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03625 seconds