[JIRA] [global-build-stats] (JENKINS-24945) Very slow startup time (11 min) for GlobalBuildStats Plugin

2014-10-01 Thread marcus.a.phi...@gmail.com (JIRA)














































Marcus Philip
 created  JENKINS-24945


Very slow startup time (11 min) for GlobalBuildStats Plugin















Issue Type:


Improvement



Assignee:


Frédéric Camblor



Components:


global-build-stats



Created:


01/Oct/14 7:33 AM



Description:


We have problems with slow startup of Global Build Stats Plugin. We have an installation with ~1000 jobs and around 50 builds kept per job. Big, but nothing extreme. 

Could this be due to some corrupted stats file that makes it read all builds of every job, or is it ALWAYS doing that at startup?

I've seen some bad interactions between plugins, e.g. template-project and jobConfigHistory. Where combined they cause ridiculous amount of work.

Excerpt from Jenkins logs. 
With plugin:

INFO: Took 665401ms for item listener hudson.plugins.global_build_stats.GlobalBuildStatsPlugin$GlobalBuildStatsItemListener startup
INFO: Took 718900ms for complete Jenkins startup



Without plugin:

INFO: Took 57859ms for complete Jenkins startup






Environment:


Jenkins ver. 1.565, global-build-stats: 1.3, Redhat 6, SAN fs with tiers (SSD, disk, ...)




Project:


Jenkins



Labels:


performance




Priority:


Major



Reporter:


Marcus Philip

























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/d/optout.


[JIRA] [global-build-stats] (JENKINS-24945) Very slow startup time (11 min) for GlobalBuildStats Plugin

2014-10-01 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-24945


Very slow startup time (11 min) for GlobalBuildStats Plugin















The plugin is from a time when Jenkins loaded all data into memory on startup. Now build records are retained as soft references and only loaded on demand. There's a chance you can make it better by adding more RAM/Xmx, but it's possible the plugin just doesn't work well with Jenkins 1.485+.

Re JobConfigHistory, disable deduplication in the global options. It's expensive.



























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/d/optout.