Confluence thread spike and grinds to a halt with Link Preview plugin enabled
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Confluence thread spikes randomly, and Confluence seems to grind to a halt. Thread dumps taken 1 minute apart shows the following long running thread:
com.xpandit.confluence.plugins.link.preview.rest.LinkResolver.retrieveType(LinkResolver.java:67)
診断
- Take 3 external thread dumps spaced 1 minute apart, during the thread spike: Generating a Thread Dump Externally
- Analyze the thread dumps using tools such as TDA: https://java.net/projects/tda
- Look for long running threads that are in the "Runnable" state. This KB applies to you if you see threads such as the one highlighted above
原因
The Link Preview plugin for Confluence: https://marketplace.atlassian.com/plugins/com.xpandit.plugins.linkpreview-confluence
ソリューション
Disable the said plugin via Confluence Admin >> Manage Add-Ons