Issue Type: Bug Bug
Assignee: Unassigned
Attachments: jstack-slow.txt
Components: core
Created: 02/May/13 2:46 PM
Description:

Jenkins takes up to 45 minutes to startup and shows up:

Please wait while Jenkins is getting ready to work

My setup has a thousand jobs, some of them having each a thousands more entries in their build history.

Using strace, I can confirm there is a few threads that are browsing the build history and opening build.xml files. Since we have a ton of them, that takes a very long time.

Attached is a JStack of the process. Thread 19970 was one of them confirmed to load build.xml in strace. The stack trace mentions jenkins.model.lazy.AbstractLazyLoadRunMap but then hudson.model.Run.reload() which in turns make it load all the build.xml files

I have noticed https://issues.jenkins-ci.org/browse/JENKINS-8754 that is about making Jenkins faster to start by using lazy loading of the jobs. That does not seems to lazy load them.

My downstream bug report is https://bugzilla.wikimedia.org/show_bug.cgi?id=47120

Environment: Jenkins 1.509.1
Also happened on 1.480.3
Project: Jenkins
Priority: Major Major
Reporter: Antoine Musso
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