Closed
Bug 681834
Opened 13 years ago
Closed 13 years ago
Insert finished jobs in the statusdb more frequently
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: nthomas)
References
Details
Attachments
(1 file)
1.65 KB,
patch
|
catlee
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
On buildbot masters, we insert newly finished builds into the statusdb every 10 minutes. Turns out that's the long pole in getting the data to the buildbot-based tbpl, so we need to see if we can shorten the interval up without spending all our time scanning the disk instead of doing actual work.
Assignee | ||
Comment 1•13 years ago
|
||
Looking at the update.log's that cron leaves behind, there are very short runs of 2-4 seconds where no builds are added to the db, or up to 120 seconds if some are. There's quite a bit of variation in the time to insert - adding 15 builds can take as little as 20s or as much as 110s on buildbot-master11. The ganglia graph of CPU usage shows we're not CPU limited, so nice'ing the process isn't relevant, and the variation is probably down to the db server.
I think we can safely turn the cron down to every 2 minutes, because there is a lock guarding starting more instances. If we run into contention issues due to db locking we can revisit. This review is for signoff on modifying the existing master setups too.
Attachment #555680 -
Flags: review?(catlee)
Updated•13 years ago
|
Attachment #555680 -
Flags: review?(catlee) → review+
Comment 2•13 years ago
|
||
Still planning on doing this, or is PulseStatus going to save us instead?
Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 555680 [details] [diff] [review]
[buildbot-configs] Modify new master installs
http://hg.mozilla.org/build/buildbot-configs/rev/a8e417e2c927
Attachment #555680 -
Flags: checked-in+
Assignee | ||
Comment 4•13 years ago
|
||
I've updated
buildbot-master08:/etc/cron.d/bm08-build1
buildbot-master11:/etc/cron.d/bm11-tests1
to confirm this will work OK in prod.
Assignee | ||
Comment 5•13 years ago
|
||
The other masters based have been done too, based on the contents of production-masters.json, enabled or not (bm04, bm06, bm07, bm09, bm12, bm13, bm14, bm15, bm16, test-master01, bm3).
In the case of the two schedulers on bm10 I disabled the cronjob, which had been complaining about a missing config file anyway. bm3 needed the cron to delete stale lockfiles.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•