Page load is slow due to additional PageTask.Load calls in EPP 5.2
Issue
- The first time a page is hit after a period of inactivity, the initial page load time is very slow - it can take up to a minute. After enabling DEBUG level logging, the time seems to be spent in multiple calls to the PageTask.Load. This takes over a second for almost every call. For example:
DEBUG [ExecutorDispatcher] (http-127.0.0.1-8080-1) Executing PageTask.Load[ownerType=portal,ownerId=classic,home_contact_index]
DEBUG [ExecutorDispatcher] (http-127.0.0.1-8080-1) Executed in 1124 PageTask.Load[ownerType=portal,ownerId=classic,home_contact_index]
DEBUG [ExecutorDispatcher] (http-127.0.0.1-8080-1) Executing PageTask.Load[ownerType=portal,ownerId=classic,home_footer_index]
DEBUG [ExecutorDispatcher] (http-127.0.0.1-8080-1) Executed in 2581 PageTask.Load[ownerType=portal,ownerId=classic,home_footer_index]
- The problem is that multiple pages are being loaded into the cache. For example, if we have the pages, "index", "about", "products" and I access "index", the pages "about" and "products" are also put in the cache.
Environment
- JBoss Enterprise Portal Platform (EPP)
- 5.2.1
- 5.2.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.