Closed Bug 485584 Opened 17 years ago Closed 16 years ago

moz2-master on production master hanging hanging when /waterfall is attempted to be loaded

Categories

(Release Engineering :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Unassigned)

Details

Attachments

(1 file)

Starting just over an hour ago every time someone attempted to load http://production-master.build.mozilla.org:8010/waterfall, the master would seize up completely: no output in twistd.log, no new builds starting, nothing. Every 12 minutes or so we get a bit of output in the log, and then it seizes again (presumably because somebody refreshed /waterfall).
catlee attached strace to Buildbot and noticed a pattern of mmap2() calls with an increasing size...don't know what it's mmap2'ing but presumably one of the logs or other resources the waterfall needs...
We're going to try a fresh Buildbot master without _any_ of the build or change history to test the /waterfall theory, and hopefully get things going again.
Strating anew fixed the problem for the time being...this will bite us again though, possibly as soon as the next round of l10n builds come out.
I suspect this is due to how buildbot constucts the html for the waterfall. It uses a series of "body += newstring" instead of constructing a list of strings and using "".join() afterwards. The old production waterfall is gone right now, but the staging waterfall is sitting around 600k in size. This means that when buildbot is close to finishing constructing the html for the waterfall, it's copying the same 600k of data over and over. I'll come up with a patch to reduce the number of string concatenations in the waterfall to see if it helps any.
I've saved the old moz2-master files in /builds/buildbot/moz2-master-old, we can have a look at them if we want to try and reproduce (probably want to move them to a different VM, though).
(In reply to comment #4) > The old production waterfall is gone right now, but the staging waterfall is > sitting around 600k in size. This means that when buildbot is close to > finishing constructing the html for the waterfall, it's copying the same 600k > of data over and over. Man, the sheer quantity of l10n builds must be absolutely hosing this. Here's hoping the "".join() helps.
Comment on attachment 369755 [details] [diff] [review] Make html generation more efficient hope this helps!
Attachment #369755 - Flags: review?(bhearsum) → review+
Comment on attachment 369755 [details] [diff] [review] Make html generation more efficient changeset: 11:eccc76210c86
Attachment #369755 - Flags: checked‑in+ checked‑in+
So, several people seem to be working on this - can somebody grab the bug and assign it to themselves for book keeping purposes?
Nobody has any current plans for this bug, though the problem is not entirely fixed. Moving to Future.
Component: Release Engineering → Release Engineering: Future
If it becomes a blocker again, we'd obviously move it from Future and work on it immediately. Meanwhile, reducing priority.
Severity: blocker → major
OS: Mac OS X → All
Hardware: x86 → All
afaict, this was really a bug about excessive load on production-master. Is this something we can close, now that we have split load across production-master, production-master02?
(In reply to comment #13) > afaict, this was really a bug about excessive load on production-master. Is > this something we can close, now that we have split load across > production-master, production-master02? Yes.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Moving closed Future bugs into Release Engineering in preparation for removing the Future component.
Component: Release Engineering: Future → Release Engineering
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: