Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 03/Jun/13 6:58 AM
Description:

Tried to remove ~20 builds in parallel with 30 days of build logs (a lot of files) and this resulted in a deadlock and we needed to restart the server.
JavaMelody listed the doDelete threads as deadlocked and showed
1 x hudson.model.Job.delete(Job.java:587)
17 x hudson.model.Project.getPublishersList(Project.java:114)
as a result of the deadlock we can't edit builds anymore

/configSubmit : http-bio-8080-exec-3552	yes	5	BLOCKED	hudson.model.Project.getPublishersList(Project.java:114)

/doDelete : http-bio-8080-exec-3503	yes	5	BLOCKED	hudson.model.Project.getPublishersList(Project.java:114)

/doDelete : http-bio-8080-exec-3543	yes	5	BLOCKED	hudson.model.Job.delete(Job.java:587)

Looking in project.java it looks like a deprecated method is used

/**
 * @deprecated as of 1.463 We will be soon removing the restriction that
 *             only one instance of publisher is allowed per type. Use
 *             {@link #getPublishersList()} instead.
 */
public Map<Descriptor<Publisher>,Publisher> getPublishers() {
return publishers.toMap();
}
Environment: Jenkins 1.509.1 running on Ubuntu 12.04 with JDK 1.7
Project: Jenkins
Priority: Major Major
Reporter: Marcus Jacobsson
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to