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)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Unassigned)
Details
Attachments
(1 file)
|
60.42 KB,
patch
|
bhearsum
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
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).
| Reporter | ||
Comment 1•17 years ago
|
||
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...
| Reporter | ||
Comment 2•17 years ago
|
||
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.
| Reporter | ||
Comment 3•17 years ago
|
||
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.
Comment 4•17 years ago
|
||
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.
| Reporter | ||
Comment 5•17 years ago
|
||
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).
Comment 6•17 years ago
|
||
(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 7•17 years ago
|
||
Attachment #369755 -
Flags: review?(bhearsum)
| Reporter | ||
Comment 8•17 years ago
|
||
Comment on attachment 369755 [details] [diff] [review]
Make html generation more efficient
hope this helps!
Attachment #369755 -
Flags: review?(bhearsum) → review+
Comment 9•17 years ago
|
||
Comment on attachment 369755 [details] [diff] [review]
Make html generation more efficient
changeset: 11:eccc76210c86
Attachment #369755 -
Flags: checked‑in+ checked‑in+
Comment 10•17 years ago
|
||
So, several people seem to be working on this - can somebody grab the bug and assign it to themselves for book keeping purposes?
Comment 11•17 years ago
|
||
Nobody has any current plans for this bug, though the problem is not entirely fixed. Moving to Future.
Component: Release Engineering → Release Engineering: Future
Comment 12•17 years ago
|
||
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
Comment 13•16 years ago
|
||
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?
| Reporter | ||
Comment 14•16 years ago
|
||
(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
Comment 15•16 years ago
|
||
Moving closed Future bugs into Release Engineering in preparation for removing the Future component.
Component: Release Engineering: Future → Release Engineering
| Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•