[JIRA] [disk-usage-plugin] (JENKINS-30934) Changing crontab settings blocks "configSubmit" for 3x60 seconds
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30934 Re: Changing crontab settings blocks "configSubmit" for 3x60 seconds Code changed in jenkins User: Thomas de Grenier de Latour Path: src/main/java/hudson/plugins/disk_usage/DiskUsageCalculation.java http://jenkins-ci.org/commit/disk-usage-plugin/f0ffb21fc598d532a5094240ac5285521e7e29b4 Log: JENKINS-30934 - remove dubious Thread.sleep(6) Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [disk-usage-plugin] (JENKINS-30934) Changing crontab settings blocks "configSubmit" for 3x60 seconds
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30934 Re: Changing crontab settings blocks "configSubmit" for 3x60 seconds Code changed in jenkins User: Lucie Votypkova Path: src/main/java/hudson/plugins/disk_usage/DiskUsageCalculation.java http://jenkins-ci.org/commit/disk-usage-plugin/8ca492d321ad1df66e77b7b6fe0b3c1ea6a97ce5 Log: Merge pull request #37 from thomasgl-orange/dont-Thread-sleep JENKINS-30934 - remove dubious Thread.sleep(6) Compare: https://github.com/jenkinsci/disk-usage-plugin/compare/4855568b75ab...8ca492d321ad Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [disk-usage-plugin] (JENKINS-30934) Changing crontab settings blocks "configSubmit" for 3x60 seconds
Title: Message Title Lucie Votypkova commented on JENKINS-30934 Re: Changing crontab settings blocks "configSubmit" for 3x60 seconds Hi, this sleep time was because cron is only in minutes. I do not remember where the problem was exactly. It was before there was so many calculation threads. I will look at it, I believe there is better way how to do it (without so much sleeping). Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [disk-usage-plugin] (JENKINS-30934) Changing crontab settings blocks "configSubmit" for 3x60 seconds
Title: Message Title Thomas de Grenier de Latour commented on JENKINS-30934 Re: Changing crontab settings blocks "configSubmit" for 3x60 seconds I don't understand (at all) the purpose of this sleep calls (is it some testing/debugging code which should have been removed before commit?), thus I'm not able to submit a PR. Actually, since "it's testing code" is the only explanation I can think of, I've submitted a PR to drop it: https://github.com/jenkinsci/disk-usage-plugin/pull/37 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- 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] [disk-usage-plugin] (JENKINS-30934) Changing crontab settings blocks "configSubmit" for 3x60 seconds
Title: Message Title Thomas de Grenier de Latour created an issue Jenkins / JENKINS-30934 Changing crontab settings blocks "configSubmit" for 3x60 seconds Issue Type: Bug Assignee: Lucie Votypkova Components: disk-usage-plugin Created: 13/Oct/15 9:11 PM Priority: Major Reporter: Thomas de Grenier de Latour With recent disk-usage plugin (0.26+), changing the crontab expressions in the global settings will block Jenkins configuration for (up to) 180 seconds (when the 3 crontab settings are modified at once). Taking several thread-dumps when it happens shows, successively, the following three stacks: "Handling POST /jenkins/configSubmit from 127.0.0.1 : RequestHandlerThread[#14]" daemon prio=10 tid=0x7f2c4820d000 nid=0x3311 waiting on condition [0x7f2c2e7dd000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at hudson.plugins.disk_usage.DiskUsageCalculation.reschedule(DiskUsageCalculation.java:101) at hudson.plugins.disk_usage.DiskUsageProjectActionFactory$DescriptorImpl.configureBuildsCalculation(DiskUsageProjectActionFactory.java:359) at hudson.plugins.disk_usage.DiskUsageProjectActionFactory$DescriptorImpl.configure(DiskUsageProjectActionFactory.java:293) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2899) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2862) ...