Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: delivery-pipeline
Created: 13/Dec/13 11:48 PM
Description:

The view takes a long time to load with a lot of thread blocking, particularly after restarting Jenkins.

Thread dumps indicate that the problem lies in PipelineFactory.getUpstreamBuild() method during the Jenkins.getItem() call. It looks like there are two issues that compound the problem.

1. We use LDAP and Jenkins.getItem() does a lot of "hasPermissions" checks which are expensive.
2. The JQuery continues to submit additional requests to the server eventually filling up the entire thread pool.

Suggestions:
1. Refactor the code to use a less expensive lookup of the project (e.g. Jenkins.getItemMap())

2. Do not submit another JQuery request if there is already one in progress.

Project: Jenkins
Priority: Critical Critical
Reporter: Brian Judy
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