On 2018-4-12 12:23 , Ryan Schmidt wrote: > > On Apr 11, 2018, at 21:22, Joshua Root wrote: > >> On 2018-4-12 11:49 , Ryan Schmidt wrote: >>> >>> These performance problems predate the existence of our >>> getNextBuildOnPortBuilder function. >>> >>> It smells to me like a missing database index problem. I don't know how to >>> determine that though. >> >> I'm guessing we probably run into trouble when the number of pending >> builds exceeds our cachedbuildrequests number. Is that at the default >> 1000 as set in master.cfg? > > Aha! Sure, I don't know why its value would be anything other than what we've > told it to be in master.cfg. So we should increase that to a much higher > number. Along with maybe some of the other values.
Well you can change it in config.json. But yes, if we have the memory to spare, that would help. - Josh
