Quantcast

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

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Slide-O-Mix
Attachments: extendedmail_publisher.png
Components: email-ext
Created: 15/Jun/12 8:30 AM
Description:

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.

Project: Jenkins
Priority: Blocker Blocker
Reporter: Cees Bos
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
Slide-O-Mix commented on Bug JENKINS-14114

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Cees Bos commented on Bug JENKINS-14114

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?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Slide-O-Mix commented on Bug JENKINS-14114

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

imho it's not a blocker.

Change By: Kanstantsin Shautsou (02/Jul/12 10:15 PM)
Priority: Blocker Critical
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Slide-O-Mix commented on Bug JENKINS-14114

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Cees Bos commented on Bug JENKINS-14114

Lately we did not face this issue anymore.
We faced this issue with a very large sync-merge (after a very large drop-merge of another team).
The commit message of the sync-merge drop-merge contained all committed in the branch.
The size of the commit message was more the 1Mb.

I guess that change history XML is parsed and that took a lot of time.
Maybe it is possible to create a change XML without commit messages itself (only committer info). That makes parsing of the XML much faster.

We use SVN.

Only thread information I have is in the screenshot attached to this ticket.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Slide-O-Mix commented on Bug JENKINS-14114

That would be up to the scm plugin developers. Email-ext uses the MailAddressResolver functionality of the core, which tries all of the available classes that inherit from MailAddressResolver.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Slide-O-Mix resolved Bug JENKINS-14114 as Duplicate
Change By: Slide-O-Mix (09/Aug/12 10:17 PM)
Status: Open Resolved
Resolution: Duplicate
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...