Hi,

The ideal target you should actually strive for is to "kill polling", and
use push instead, as explained in
http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/

If you really really cannot consider that, then in your place I would maybe
try and mimic what Jenkins is supposedly doing: on your machine, write a
script that clones repo, or updates it every minute (or something similar
with what you put in Jenkins), during say an hour, or a day. Goal being to
have data about connectivity.

Maybe it's just bitbucket.org that's inconsistent, and sometimes never
answers. Or maybe not. IMO that's the first thing you want to look at.

For example, looking at https://status.bitbucket.org/ I see issues around
the date of your message, was your issue that day or something that's been
consistently problematic across weeks?

-- Baptiste

2016-11-10 22:30 GMT+01:00 Josh Santangelo <j...@stimulant.com>:

> Hi all -- I'm seeing the "There are more SCM polling activities scheduled
> than handled, so the threads are not keeping up with the demands" error
> consistently on my Jenkins setup (2.3, running as a Windows service).
>
> Going to my http://jenkins/descriptor/hudson.triggers.SCMTrigger/ page
> does show jobs hanging for hours at a time, but always different jobs.
>
> I currently have 14 jobs enabled which are polling git repos on
> BitBucket.org (I had more, but I disabled a bunch trying to troubleshoot
> this issue).
>
> On the "Manage Jenkins" page I set "Max # of concurrent polling" to empty,
> which seems to mean an unlimited number of threads, but the issue remains.
>
> Is there anything else I should look at?
>
> thanks,
> -josh
>
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/03919522-cec0-43e7-8c9f-ed102234a3a6%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/03919522-cec0-43e7-8c9f-ed102234a3a6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5CACK9LYB7D63r-S9J49RtiVXEhk6GPRveHiaDgAbKCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to