Jenkins is extremely slow and takes 100% cpu

3,295 views
Skip to first unread message

Christian Petry

unread,
May 16, 2013, 6:28:04 AM5/16/13
to jenkins...@googlegroups.com
Hi,

i run jenkins with about 200 Jobs and working with it becomes quite painful. The overview page seems to take forever to load (about 4 minutes), and when jenkins is idle, it consumes 100% cpu.

I am using Jenkins 1.514

I have the following plugins installed:
  • Ant Plugin
  • Checkstyle Plugin
  • Credentials Plugin
  • Depenency Graph Plugin
  • External Monitor Job Type Plugin
  • Findbugs Plugin
  • Javadoc Plugin
  • Jenkins CVS Plugin
  • Jenkins jQuery Plugin
  • Jenkins Mailer Plugin
  • Jenkins Sonar Plugin
  • Jenkins SSH Slaves Plugin
  • Jenkins Subversion Plugin
  • Jenkins Translation Assistance Plugin
  • LDAP Plugin
  • Maven Ingtegration Plugin
  • pam-auth
  • PMD-Plugin
  • SSh Credentials Plugin
  • Static Analysis Collector Plugin
  • Static Analysis Utilities
  • View Job Filters
  • Warnings Plug-ins
I have a TreadDump attached.

Jenkins runs in a virtual box on an Ubuntu Linux 12.04.
Thread Dump.txt

James Nord (jnord)

unread,
May 16, 2013, 9:45:22 AM5/16/13
to jenkins...@googlegroups.com

Your stack shows that Jenkins is trying to load all the builds looking for the last failed.

 

By any chance do you have a lot of jobs and a lot of history in these jobs?

 

https://issues.jenkins-ci.org/browse/JENKINS-16023

 

/James

 

--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Christian Petry

unread,
May 16, 2013, 10:42:22 AM5/16/13
to jenkins...@googlegroups.com, jn...@cisco.com
Hi,

i do not know how much is a lot of Jobs at the moment we have about 200 Jobs which keep the builds for 30 Days, but i think that there are not more than 50 kept builds per job. Many jobs have much less builds.


Christian

Christian Petry

unread,
May 16, 2013, 10:56:32 AM5/16/13
to jenkins...@googlegroups.com, jn...@cisco.com
Hi,

i found a hint that jenkins has a Performance Problem since 1.506, so i downgraded to 1.505. At first it looked as if the performance got better, but it seems that the load on my machine raises constantly.

Christian

Christian Petry

unread,
May 22, 2013, 11:20:08 AM5/22/13
to jenkins...@googlegroups.com, jn...@cisco.com
Hi,

I have profiled Jenkins with yourkit, it seems, that it is this issue.

I will try to disable the compression filter with the Option  -Dorg.kohsuke.stapler.compression.CompressionFilter.disabled=true

Greetings,
Christian
Reply all
Reply to author
Forward
0 new messages