[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-03-01 Thread hag...@java.net (JIRA)














































hagzag
 started work on  JENKINS-21649


High CPU Usage on master while slaves working (multijob)
















Change By:


hagzag
(01/Mar/14 6:39 PM)




Status:


Open
In Progress



























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-03-01 Thread hag...@java.net (JIRA)















































hagzag
 resolved  JENKINS-21649 as Fixed


High CPU Usage on master while slaves working (multijob)
















Merged PR #49 from nmorey/update-subbuild-poll





Change By:


hagzag
(01/Mar/14 6:39 PM)




Status:


In Progress
Resolved





Resolution:


Fixed



























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-03-01 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21649


High CPU Usage on master while slaves working (multijob)















Code changed in jenkins
User: Nicolas Morey-Chaisemartin
Path:
 src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java
http://jenkins-ci.org/commit/tikal-multijob-plugin/f9a88fd8a6b094b4e817bcc4a0fc19ab91be2ddb
Log:
  MultiJobBuilder.java: Sleep in the subtask polling loop

Without the sleep, the thread keeps polling and updating the subtask which causes a very high CPU usage.
This fixes JENKINS-21649 and JENKINS-21798

Signed-off-by: Nicolas Morey-Chaisemartin 





























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-02-26 Thread patrik.scha...@gmail.com (JIRA)














































Patrik Schalin
 commented on  JENKINS-21649


High CPU Usage on master while slaves working (multijob)















Seem to be a fix here: https://github.com/jenkinsci/tikal-multijob-plugin/pull/49

Is that good? Any ETA on this fix, 1.13?



























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-02-24 Thread hag...@java.net (JIRA)















































hagzag
 assigned  JENKINS-21649 to itai Or



High CPU Usage on master while slaves working (multijob)
















Itai/Alex could you please look into this, looks like a show stopper to me (if we ca re-produce).

Tx





Change By:


hagzag
(24/Feb/14 3:36 PM)




Assignee:


itai Or



























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-02-17 Thread ddum...@gmail.com (JIRA)














































Dan Dumont
 commented on  JENKINS-21649


High CPU Usage on master while slaves working (multijob)















There's more information in JENKINS-21798

The thread trace is misleading, as the threads round-robin the work.



























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-02-17 Thread patrik.scha...@gmail.com (JIRA)














































Patrik Schalin
 commented on  JENKINS-21649


High CPU Usage on master while slaves working (multijob)















Seeing the same on Jenkins 1.532.1 with MultiJob PLugin 1.12.

Typically its the pool threads that are heavy on CPU...


"pool-26-thread-1" prio=5 RUNNABLE
	java.util.Hashtable.get(Unknown Source)
	java.text.NumberFormat.getInstance(Unknown Source)
	java.text.NumberFormat.getInstance(Unknown Source)
	java.text.MessageFormat.subformat(Unknown Source)
	java.text.MessageFormat.format(Unknown Source)
	java.text.Format.format(Unknown Source)
	java.text.MessageFormat.format(Unknown Source)
	org.jvnet.localizer.ResourceBundleHolder.format(ResourceBundleHolder.java:139)
	hudson.Messages.Util_second(Messages.java:405)
	hudson.Util.getTimeSpanString(Util.java:682)
	hudson.model.Run.getDurationString(Run.java:697)
	com.tikal.jenkins.plugins.multijob.MultiJobBuilder.updateSubBuild(MultiJobBuilder.java:292)
	com.tikal.jenkins.plugins.multijob.MultiJobBuilder.access$000(MultiJobBuilder.java:60)
	com.tikal.jenkins.plugins.multijob.MultiJobBuilder$SubJobWorker.run(MultiJobBuilder.java:200)
	java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	java.lang.Thread.run(Unknown Source)

"pool-26-thread-2" prio=5 WAITING
	hudson.remoting.AsyncFutureImpl.isCancelled(AsyncFutureImpl.java:64)
	com.tikal.jenkins.plugins.multijob.MultiJobBuilder$SubJobWorker.run(MultiJobBuilder.java:194)
	java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	java.lang.Thread.run(Unknown Source)




























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-02-11 Thread rmen...@hotmail.com (JIRA)














































Ralf Menzi
 commented on  JENKINS-21649


High CPU Usage on master while slaves working (multijob)















I have made the same observation using:
Jenkins: 1.549
Multijob Plugin: 1.11



























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.


[JIRA] [jenkins-multijob-plugin] (JENKINS-21649) High CPU Usage on master while slaves working (multijob)

2014-02-04 Thread g...@smolyn.org (JIRA)














































greg smolyn
 created  JENKINS-21649


High CPU Usage on master while slaves working (multijob)















Issue Type:


Bug



Affects Versions:


current



Assignee:


Unassigned


Attachments:


jenkins.war-2014-02-04-2.snapshot, ProfilerStackTrace.jpg



Components:


jenkins-multijob-plugin



Created:


04/Feb/14 8:25 PM



Description:


When a slave is running a build in a multijob plugin, the monitoring thread on the master eats up 100% of a CPU core.
This scales linearly-- so when I have 4 parallel jobs running, jenkins master is  using 400% cpu.

Attaching screen cap of profiler output, as well as YourKit profiler snapshot.




Environment:


Ubuntu 12.04, Oracle Java 7

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)




Project:


Jenkins



Priority:


Major



Reporter:


greg smolyn

























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.