<div dir="ltr">Hi,<div><br></div><div>Pollers are usually indeed not scaling as they, hmm, poll.</div><div>What you are describing here is hints that the twisted reactor thread is always busy, which should not happen if you only start 10 builds.</div><div>You might have some custom steps which are doing something heavily cpu bound in the main thread.</div><div>What I usually do is to use statprof:</div><div><a href="https://pypi.python.org/pypi/statprof/">https://pypi.python.org/pypi/statprof/</a></div><div><br></div><div>in order to know what the cpu is doing.</div><div>You could create a builder which you can trig whenever you need, and which would start the profiling, wait a few minutes, and then save profiling to a file.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le mar. 2 août 2016 à 17:53, Francesco Di Mizio <<a href="mailto:francescodimizio@gmail.com">francescodimizio@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Dan,<div><br></div><div>I am using a p4 poller. Maybe it's suffering from the same problems?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 2, 2016 at 5:45 PM, Francesco Di Mizio <span dir="ltr"><<a href="mailto:francescodimizio@gmail.com" target="_blank">francescodimizio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'd like to provide a bit more context.Right after restarting the master and kicking off 10 builds CPU was at 110-120%. This made the UI unusable and basically all the services were stuck, including the REST API.<div>After 3-4 minutes like this and WITH all the 10 builds still running the CPU usage went down to 5%, stayed there for 5 minutes and all was smooth and quick again. From then on it keps oscillating, I've seen spikes of 240% :(<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 2, 2016 at 4:12 PM, Francesco Di Mizio <span dir="ltr"><<a href="mailto:francescodimizio@gmail.com" target="_blank">francescodimizio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sometimes it goes up to 140%. I was not able to relate this with a particular builds condition - seems like it can happen any time and is not related to how many builds are going on.<div><br></div><div>I usually realize the server got into this state because the web UI gets stuck. As soon as the CPU% goes back to normal values (2-3% most times) the web finishes loading just instantly.</div><div><br></div><div>Any pointers as to what might be causing this? Only reason I can think of is too many people trying to access the web UI simultaniously - may I be right?</div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div>