Throttle down SonarLint

Please provide

  • Operating system: Ubuntu 20.04.6
  • SonarLint plugin version:
  • Programming language you’re coding in: JRuby
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): * Enterprise Edition
  • Version 9.9 (build 65466)

And a thorough description of the problem / question:

I understand that there might be a lot to do, especially if branch-swapping, build-swapping changes occur. But can it pls relax?

I have 16 cores, and they don’t seem overworked - but I’d be lying if I’d say "this does not look like it slows down “project startup”.

Hi @stdedos, thank you for your report. We just released SonarLint 10.4.2, which should improve the performance, could you try and see if there is an improvement?

It maybe works better (or faster), but I can see sometimes 10 jobs saying exactly the same:

e.g. analyzing 6 modules over 4 files (I didn’t take a screenshot, since I thought it’d be perma-stuck - hence I don’t remember the exact wording)

Hi @stdedos ,

To help us investigate the issue more deeply, could you please make and attach the following thread dumps:

  • one from Intellij
  • one for the backend of SonarLint service; That can be done by eg. running jps command from console to find id of the JVM process for SonarLintServerCli and then making a dump with jstack jstack <id>

Thank you very much for your cooperation on this.

Vojtech from :sonarlint:

1 Like

Hello Vojtech,

Sadly, I’m unable to get threaddumps from the “backend service”.

I have mine, but I am not ready to share publicly.