Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sonarqube plugin causing slowness on Bitbucket

Alexei Ferreira March 28, 2019

We've been getting slowness problems on our bitbucket it seems to be caused by Sonarqube plugin:

 

Is there anything that can be made to help in this matter?

 

Logs:

atlassian-bitbucket-alerts.log:1553769216749 ; WARNING ; EVENT ; EVENT-2001 ; Slow event listener detected ; System ; 5.13.0 ; com.atlassian.stash.internal.hook.repository.CoreRefChangeEventToRepositoryHookAdapter ; {"timeMillis":26692,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}

atlassian-bitbucket-alerts.log:1553769774985 ; WARNING ; EVENT ; EVENT-2001 ; Slow event listener detected ; ch.mibex.stash.sonar4stash ; 2.3.1 ; ch.mibex.stash.sonar4stash.sonar.buildinfo.SonarBuildFilesCacheCleaner ; {"timeMillis":20677,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}

atlassian-bitbucket-alerts.log:1553770024894 ; WARNING ; EVENT ; EVENT-2001 ; Slow event listener detected ; ch.mibex.stash.sonar4stash ; 2.3.1 ; ch.mibex.stash.sonar4stash.sonar.buildinfo.SonarBuildFilesCacheCleaner ; {"timeMillis":16317,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}

atlassian-bitbucket-alerts.log:1553770210414 ; WARNING ; EVENT ; EVENT-2001 ; Slow event listener detected ; ch.mibex.stash.sonar4stash ; 2.3.1 ; ch.mibex.stash.sonar4stash.sonar.buildinfo.SonarBuildFilesCacheCleaner ; {"timeMillis":15771,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}

atlassian-bitbucket.log:2019-03-28 10:34:03,454 WARN  [alert-dispatch:thread-1]  atlassian-diagnostics 2019-03-28T10:33:36.749Z Component 'Event system' alerted 'Slow event listener detected' (details: {"timeMillis":26692,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}, trigger: {"pluginKey": "System", "pluginVersion": "5.13.0", "module": "com.atlassian.stash.internal.hook.repository.CoreRefChangeEventToRepositoryHookAdapter"})

atlassian-bitbucket.log:2019-03-28 10:43:15,668 WARN  [alert-dispatch:thread-1]  atlassian-diagnostics 2019-03-28T10:42:54.985Z Component 'Event system' alerted 'Slow event listener detected' (details: {"timeMillis":20677,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}, trigger: {"pluginKey": "ch.mibex.stash.sonar4stash", "pluginVersion": "2.3.1", "module": "ch.mibex.stash.sonar4stash.sonar.buildinfo.SonarBuildFilesCacheCleaner"})

atlassian-bitbucket.log:2019-03-28 10:47:21,217 WARN  [alert-dispatch:thread-1]  atlassian-diagnostics 2019-03-28T10:47:04.894Z Component 'Event system' alerted 'Slow event listener detected' (details: {"timeMillis":16317,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}, trigger: {"pluginKey": "ch.mibex.stash.sonar4stash", "pluginVersion": "2.3.1", "module": "ch.mibex.stash.sonar4stash.sonar.buildinfo.SonarBuildFilesCacheCleaner"})

atlassian-bitbucket.log:2019-03-28 10:50:26,189 WARN  [alert-dispatch:thread-1]  atlassian-diagnostics 2019-03-28T10:50:10.414Z Component 'Event system' alerted 'Slow event listener detected' (details: {"timeMillis":15771,"eventType":"com.atlassian.stash.internal.event.AnalyticsRepositoryPushEvent"}, trigger: {"pluginKey": "ch.mibex.stash.sonar4stash", "pluginVersion": "2.3.1", "module": "ch.mibex.stash.sonar4stash.sonar.buildinfo.SonarBuildFilesCacheCleaner"})

1 comment

Comment

Log in or Sign up to comment
Michael Rüegg _Mibex Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2019

Hi,

Thanks for the log. In there I see that one of our event listener takes a lot of time. This event listener is there for detecting when it is necessary to clear the Sonar component cache (e.g., when a build file changes or sonar-project.properties). I've created an internal bug report to analyze the performance characteristics of this even listener and to improve it. We will address this with the upcoming release of the app. I'll reply back here when the new release is ready.

Best regards,
Michael (app vendor)

Like # people like this
TAGS
AUG Leaders

Atlassian Community Events