Re: Jenkins is extremely slow and takes 100% cpu

2013-05-22 Thread Christian Petry
Hi,

I have profiled Jenkins with yourkit, it seems, that it is 
thishttps://issues.jenkins-ci.org/browse/JENKINS-14362
 issue.

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

Greetings,
Christian

Am Donnerstag, 16. Mai 2013 16:56:32 UTC+2 schrieb Christian Petry:

 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

 Am Donnerstag, 16. Mai 2013 16:42:22 UTC+2 schrieb Christian Petry:

 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


 Am Donnerstag, 16. Mai 2013 15:45:22 UTC+2 schrieb James Nord (jnord):

  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

  
   
 *From:* jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] 
 *On Behalf Of *Christian Petry
 *Sent:* 16 May 2013 11:28
 *To:* jenkins...@googlegroups.com
 *Subject:* Jenkins is extremely slow and takes 100% cpu
  
  

 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.
  
 -- 
 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.
  
  
   


-- 
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.




Re: Jenkins is extremely slow and takes 100% cpu

2013-05-16 Thread Christian Petry
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


Am Donnerstag, 16. Mai 2013 15:45:22 UTC+2 schrieb James Nord (jnord):

  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

  
   
 *From:* jenkins...@googlegroups.com javascript: [mailto:
 jenkins...@googlegroups.com javascript:] *On Behalf Of *Christian Petry
 *Sent:* 16 May 2013 11:28
 *To:* jenkins...@googlegroups.com javascript:
 *Subject:* Jenkins is extremely slow and takes 100% cpu
  
  

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

-- 
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.




Re: Jenkins is extremely slow and takes 100% cpu

2013-05-16 Thread Christian Petry
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

Am Donnerstag, 16. Mai 2013 16:42:22 UTC+2 schrieb Christian Petry:

 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


 Am Donnerstag, 16. Mai 2013 15:45:22 UTC+2 schrieb James Nord (jnord):

  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

  
   
 *From:* jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] 
 *On Behalf Of *Christian Petry
 *Sent:* 16 May 2013 11:28
 *To:* jenkins...@googlegroups.com
 *Subject:* Jenkins is extremely slow and takes 100% cpu
  
  

 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.
  
 -- 
 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.
  
  
   


-- 
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.




Triggering downstream builds from an unstable maven job

2013-05-08 Thread Christian Petry
Hi,

i have a problem with jenkins maven jobs. When a build becomes unstable, it 
does not trigger downstream builds, even when in the section Post Steps 
the option Run regardless of build result is activated, the option Run 
only if build succeeds or is unstable does not work too.

I think i am doing something wrong, because there have been some bugs with 
the same problem, but these are all set to resolved some years ago. 

Is there a special setting for maven jobs that enables triggering of 
downstream builds even if the job is unstable?

Greetings,
Christian

-- 
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.




Re: Triggering downstream builds from an unstable maven job

2013-05-08 Thread Christian Petry
Hi,

maybe i should say something about my environment ;-)

I use jenkins 1.499 on an Ubuntu Linux 12.04. and Maven 2

Greetings,
Christian

Am Mittwoch, 8. Mai 2013 13:10:52 UTC+2 schrieb Christian Petry:

 Hi,

 i have a problem with jenkins maven jobs. When a build becomes unstable, 
 it does not trigger downstream builds, even when in the section Post 
 Steps the option Run regardless of build result is activated, the option 
 Run only if build succeeds or is unstable does not work too.

 I think i am doing something wrong, because there have been some bugs with 
 the same problem, but these are all set to resolved some years ago. 

 Is there a special setting for maven jobs that enables triggering of 
 downstream builds even if the job is unstable?

 Greetings,
 Christian


-- 
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.




NPE when sending mails

2013-01-22 Thread Christian Petry
Hi,
 
have Jenkins 1.499 installed on a Linux machine. Some days ago i have 
upgraded my jenkins installation from 1.465. When a build fails i get the 
following NPE:
 
[INFO] 

[INFO] BUILD SUCCESS
[INFO] 

[INFO] Total time: 14.774s
[INFO] Finished at: Tue Jan 22 13:02:39 CET 2013
[INFO] Final Memory: 21M/252M
[INFO] 

Projects to build: [MavenProject: ...]
[JENKINS] Archiving ...
[JENKINS] Archiving ...
[JENKINS] Archiving ...
[JENKINS] Archiving ...
Warte bis Jenkins die Datensammlung abgeschlossen hat
ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-users@googlegroups.com
*java.lang.NullPointerException
*http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerExceptionat
 
*
hudson.maven.MavenModuleSetBuild$1.isDescendantOf(MavenModuleSetBuild.java:246)
*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$1.isDescendantOfentity=method
at 
*hudson.maven.MavenModuleSetBuild$1.init(MavenModuleSetBuild.java:215)*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$1.initentity=method
at *
hudson.maven.MavenModuleSetBuild.getChangeSetFor(MavenModuleSetBuild.java:208)
*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.getChangeSetForentity=method
at 
*hudson.maven.FilteredChangeLogSet.init(FilteredChangeLogSet.java:51)*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.FilteredChangeLogSet.initentity=method
at 
*hudson.maven.MavenBuild.getChangeSet(MavenBuild.java:183)*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenBuild.getChangeSetentity=method
at 
*hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:452)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.hasParticipantentity=method
at 
*hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1524)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.hasParticipantentity=method
at 
*hudson.model.User.getProjects(User.java:444)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.User.getProjectsentity=method
at *
hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19)
*http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.MailAddressResolverImpl.findMailAddressForentity=method
at 
*hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailAddressResolver.resolveentity=method
at 
*hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.Mailer$UserProperty.getAddressentity=method
at 
*hudson.tasks.MailSender.buildCulpritList(MailSender.java:408)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.buildCulpritListentity=method
at 
*hudson.tasks.MailSender.createEmptyMail(MailSender.java:368)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.createEmptyMailentity=method
at 
*hudson.tasks.MailSender.createUnstableMail(MailSender.java:188)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.createUnstableMailentity=method
at 
*hudson.tasks.MailSender.getMail(MailSender.java:159)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.getMailentity=method
at 
*hudson.tasks.MailSender.execute(MailSender.java:100)*http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.MailSender.executeentity=method
at 
*hudson.maven.reporters.MavenMailer.end(MavenMailer.java:55)*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.reporters.MavenMailer.endentity=method
at 
*hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103)*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.AbstractMavenBuilder.endentity=method
at *
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:758)
*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRunentity=method
at *
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:592)
*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.runentity=method
at 
*hudson.model.Run.execute(Run.java:1543)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.executeentity=method
at 
*hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)*http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.runentity=method
at 
*hudson.model.ResourceController.execute(ResourceController.java:88)*http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.executeentity=method
at