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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sonarqube plugin causing slowness on Bitbucket

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

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

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Marketplace Apps & Integrations

How to create a Confluence page linked to a Jira cloud ticket

Have you been looking for a solution to easily create Confluence pages directly from a Jira Cloud issue? The no code solution is here with the brand new app Elements Publish to Confluence, which work...

26 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you