Extremely slow Sonar analysis in WSL projects

Please provide

  • Operating system: Windows 11 + WSL
  • SonarQube for IntelliJ plugin version: 13.0.0.85671
  • IntelliJ version: 2026.2.3
  • Programming language you’re coding in: Java
  • Is connected mode used:
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): no connection, local only

Running sonar analysis is extremely slow when executed on a project that is located inside WSL.
Files take multiple seconds to analyze:

[2026-10-19T17:11:13.105] [sonarlint-analysis-scheduler] INFO org.sonar.java.ExecutionTimeReport - Slowest analyzed files:
[uri=file:////wsl.localhost/Ubuntu/home/...] (20832ms, 2779B)
    [uri=file:////wsl.localhost/Ubuntu/home/...] (20795ms, 819B)
    [uri=file:////wsl.localhost/Ubuntu/home/...] (20088ms, 3546B)
    [uri=file:////wsl.localhost/Ubuntu/home/...] (19500ms, 682B)
    [uri=file:////wsl.localhost/Ubuntu/home/...] (19405ms, 2774B)

Hey @FelixStumvollDT, welcome to the Community! The project is in WSL, but is IntelliJ (and therefore SonarQube for IDE) also running in WSL or on Windows?

That is the setup yes

So… which one are you saying “yes” to?

is IntelliJ […] also running in WSL or on Windows?

my bad :person_facepalming:
Intellij is running on Windows, the projects are in the WSL

No problem! So, I think this type of setup might be problematic. We have another thread going on discussing what seems like the same problem. Note this comment from the post:

Another note: When I open IntelliJ in WSL via WSLg, the scan performance is as if I scan a project living on host with the host IntelliJ, so it seems to be specifically a WSL-files/host-IntelliJ problem.

I encourage you to try running IntelliJ in WSL, compare performance and let us know how it goes.

The conversation stalled a bit in the original thread because the devs are waiting for the user to provide verbose logs. I think it might be a good idea if you hopped on that ticket and shared your issue over there, together with verbose logs captured while running an analysis.