• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • email-ext-plugin
    • None

      Our Jenkins server was on 100% CPU usage.
      4 threads were very busy with sending an email.
      All 4 thread had the same stacktrace, see screenshot.

      Looks like that lookup of emailadresses is consuming too much CPU.

          [JENKINS-14114] CPU on 100% when sending mail

          Cees Bos created issue -

          Alex Earl added a comment -

          E-mail address revolvers are other plugins, the email-ext plugin just uses the core Jenkins address revolver functionality so I'm not sure how to handle this issue in the plugin itself.

          Alex Earl added a comment - E-mail address revolvers are other plugins, the email-ext plugin just uses the core Jenkins address revolver functionality so I'm not sure how to handle this issue in the plugin itself.

          Cees Bos added a comment -

          If this is an API of Jenkins Core, then you might transfer it to Core.

          When will this API be used? In all situations or when certains settings are done for sending the email?

          Cees Bos added a comment - If this is an API of Jenkins Core, then you might transfer it to Core. When will this API be used? In all situations or when certains settings are done for sending the email?

          Alex Earl added a comment -

          It will be used when a user's email address needs to be resolved.

          Alex Earl added a comment - It will be used when a user's email address needs to be resolved.

          1) Do you use svn?
          2) what svn plugin version?
          3) what jenkins version?
          4) what email-ext version?
          5) Can you paste thread dump as text here?
          6) How long email is sending?
          I post my small debug story to #JENKINS-14285 maybe it helps you.

          Kanstantsin Shautsou added a comment - 1) Do you use svn? 2) what svn plugin version? 3) what jenkins version? 4) what email-ext version? 5) Can you paste thread dump as text here? 6) How long email is sending? I post my small debug story to # JENKINS-14285 maybe it helps you.

          imho it's not a blocker.

          Kanstantsin Shautsou added a comment - imho it's not a blocker.
          Kanstantsin Shautsou made changes -
          Priority Original: Blocker [ 1 ] New: Critical [ 2 ]

          think related to method how plugin resolve emails.

          Kanstantsin Shautsou added a comment - think related to method how plugin resolve emails.
          Kanstantsin Shautsou made changes -
          Link New: This issue is related to JENKINS-13295 [ JENKINS-13295 ]

          Alex Earl added a comment -

          Please attach one of the xml files for the svn changeset.

          Alex Earl added a comment - Please attach one of the xml files for the svn changeset.

            slide_o_mix Alex Earl
            cbos Cees Bos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: