"I can not clean up my job history" may well be the problem, in more ways than one.
In older versions of the server, you had to load up basic information (everything but the console log and the artifacts, I believe) on every job run in your history before you fully came online. A recent change (around 1.500, will somebody check me on this one?) does "lazy loading", where it will come up while still loading job histories. This may not be the worst of your problems. As this basic information gets eventually loaded into your JVM, this implies that all this data gets loaded into core. If you cannot prune your builds and you have a lot of them (which may be why startup is so slow), you will eventually run out of heap space. I learned that one the hard way. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eduardo Dias Sent: Monday, June 03, 2013 3:28 PM To: jenkinsci-users Subject: Jenkins has a long startup time, how to avoid it? Hi All, our Jenkins has a long startup time after system reboot, it is not common, but some times heppens. Has any tip to avoid it? I can not clean up my job history. regards, Eduardo -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.