If Confluence is responding slowly, an internal timing trace of the slow page request can help to identify the cause of the delay.
You will need access to the Confluence server to view a profile.
- Locate Confluence's standard screen output, or stdout, on the Confluence server. Users running Confluence as a Windows service may have this logged to the
/logs/stdout.log
file under the Confluence install directory, while users running Confluence using startup.bat
under Windows have stdout written to the command prompt window.
Enable profiling using ?profile=on
Remember to switch off profiling after you have enabled it, otherwise it will be enabled for all users accessing your site.
Disable profiling using ?profile=off
- Enable profiling by accessing any page in your Confluence instance. Modify the URL by appending
?profile=on
to the end of the URL for static pages, or &profile=on
if the URL is dynamic and already has parameters. For example, if your Dashboard link is
You would manually add ?profile=on
to the end of the URL and visit
Profiles for every page hit, for all users, will now be logged to stdout until Confluence is restarted. Note that each time a user visits a link, a single profile is printed.
- Confirm that profiles are being printed to stdout.
- Perform the activity that is resulting in unusually slow response time and copy the profile for that action. The relevant profiles are for links that took a long time to respond. If a single page is slow, only that profile is necessary. If Confluence is generally or intermittently slow, copy all profiles logged during the slowdown until a reasonable sample has been collected.
- If you were instructed to profile your instance by Atlassian technical support, attach all relevant profiles to your support ticket.
- Turn profiling off again by appending
?profile=off
to the end of the URL for static pages, or &profile=off
if the URL is dynamic and already has parameters. For example, if your Dashboard link is
You would add ?profile=off
to the end of the URL and visit
- Confirm that profiles are no longer being printed to stdout
The first few lines of a normal profile for accessing a page called Confluence Overview.
Requesting Performance Support