My site experiences slower page loads. SO I need to identify slow running requests. How I can get it done. | Community
Skip to main content
JakeCham
Level 6
December 20, 2023
Solved

My site experiences slower page loads. SO I need to identify slow running requests. How I can get it done.

  • December 20, 2023
  • 3 replies
  • 729 views

Hi Team,

 

My site experiences slower page loads. SO I need to identify slow running requests. How I can get it done.

I saw there are options in internet.

a. Use rlog.jar with the following command $ java -jar ../opt/helpers/rlog.jar -n 10 requests.

log to identify long running requests.

b. Use proxy.jar with the command java -jar proxy.jar to debug the webserver and AEM server communications.

c. Download Heapdumps from Tools > Operations > Diagnosis and analyze the Heapdumps using the Memory Analyzer Tool.

d. Embed /libs/foundation/components/timing component in the Page Component and verify the page load time.

 

What is the best ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

First filter out the slow request using rlog utility.

and download Heapdumps and analyse at granular level

3 replies

Saravanan_Dharmaraj
Community Advisor
Community Advisor
December 21, 2023

@jakecham Please check the below items

1. Check for a specific page which takes long time to load, tail the log and see any error and then take it from there.

2. Check for any scheduled job if its running which takes lot of memory or memory leaks or session not closed.

3. While tailing the logs, look for any query traversals which definitely slows down the performance. If its there, create index for those expensive queries. 

4. Tail the dispatcher log, if you are expecting the pages should be served from dispatcher cache. Why the cache miss is happening. check the dispatcher /cache configuration.

5. You can heap dump analysis like you said.

 

hope this helps

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 21, 2023

First filter out the slow request using rlog utility.

and download Heapdumps and analyse at granular level

Arun Patidar
Kamal_Kishor
Community Advisor
Community Advisor
December 22, 2023

Hi @jakecham : At high level you can see which are the slower responding requests on your page by inspecting 'Network' tab on the browser.

This could also help to identify if there are unwanted/cacheable requests which can be avoided/cached/merged etc. Once you identify the slower requests, you can debug them further in detail by looking at logs etc.