Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10052

Registration of Quality profiles is slow at server startup

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Quality Profile
    • Labels:

      Description

      On environments with many Quality profiles (SonarCloud for instance), the synchronization step at startup may be 85% of the total startup time:

      2017.09.14 18:00:51 INFO  web[][o.s.p.ProcessEntryPoint] Starting web
      2017.09.14 18:00:52 INFO  web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
      2017.09.14 18:00:54 INFO  web[][o.e.p.PluginsService] no modules loaded
      
      
      2017.09.14 18:01:24 INFO  web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
      2017.09.14 18:01:24 INFO  web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
      2017.09.14 18:01:24 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile cpp/Sonar way
      2017.09.14 18:01:38 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile c/Sonar way
      2017.09.14 18:01:52 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile rpg/Sonar way
      2017.09.14 18:01:53 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
      2017.09.14 18:01:54 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way Recommended
      2017.09.14 18:02:03 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
      2017.09.14 18:02:07 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile tsql/Sonar way
      2017.09.14 18:02:08 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile pli/Sonar way
      2017.09.14 18:02:09 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile plsql/Sonar way
      2017.09.14 18:02:13 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
      2017.09.14 18:02:33 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
      2017.09.14 18:05:06 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile cobol/Sonar way
      2017.09.14 18:05:08 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile web/Sonar way
      2017.09.14 18:05:09 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
      2017.09.14 18:05:09 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
      2017.09.14 18:05:11 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
      2017.09.14 18:05:15 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
      2017.09.14 18:05:16 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
      2017.09.14 18:05:17 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile vbnet/Sonar way
      2017.09.14 18:05:18 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile abap/Sonar way
      2017.09.14 18:05:20 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
      2017.09.14 18:05:20 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way recommended
      2017.09.14 18:05:22 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile swift/Sonar way
      2017.09.14 18:05:24 INFO  web[][o.s.s.q.RegisterQualityProfiles] Update profile objc/Sonar way
      2017.09.14 18:05:28 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
      
      2017.09.14 18:05:28 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
      2017.09.14 18:05:28 INFO  web[][o.s.s.n.NotificationDaemon] Notification service stopped
      2017.09.14 18:05:28 INFO  web[][o.s.s.p.Platform] WebServer is operational
      

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: