Closed Bug 1157308 Opened 9 years ago Closed 9 years ago

Reduce the leak threshold for content processes in e10s again

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
e10s + ---
firefox40 --- affected
firefox41 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(2 files)

The e10sification of GMP has landed, so the slowly growing leak from those tests should be gone now.

Here's a try run with the leak threshold disabled:
  https://treeherder.mozilla.org/#/jobs?repo=try&revision=f25a8f74af9a

I retriggered the largest leaks.  I'll have to look over what those leaks are, and I should also look at the situation for reftests, which have a separate leak threshold.
Blocks: 1051230
Bug 1157468 and bug 1157467 are together responsible for the current high water mark across all Mochitests, of 10133 bytes leaked.
64-bit of course needs a higher leak threshold.  640bit reftests seem to be at about 4400 bytes leaked.  e10s M2 is at 12008 bytes (probably in part due to bug 1157515).  e10s M4 is at 7320 bytes (also in part to the same bug).
On trunk right now, on 64-bit, the e10s m4 leak is 24041 bytes.
The leaks mentioned in comment 1 have been fixed now. The high water mark for mochitests is M4, at 7960 bytes. For reftests, it is 4392 bytes.
Assignee: nobody → continuation
Comment on attachment 8611224 [details] [diff] [review]
part 1 - Reduce the leak threshold for content processes more.

Review of attachment 8611224 [details] [diff] [review]:
-----------------------------------------------------------------

r=me. Your patch title has "part 1" in it, are there more patches coming?

::: testing/mochitest/mochitest_options.py
@@ +722,2 @@
>              # GMP rarely gets a log, but when it does, it leaks a little.
>              "geckomediaplugin": 20000,

Is this still valid?
Attachment #8611224 - Flags: review?(erahm) → review+
We don't run e10s tests on OS X, but there are some regular Mochitests that run a child process. One of these was leaking intermittently, so I added this code to bump up the leak limit. However, this leak seems to have gone away in the mean time, so I think we can remove this.

Here's a try run with a bunch of retriggers of M3 which is where the leak was showing up before:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6792130eed58

I split this into a separate patch so it can be easily backed out if the leak is still there.
Attachment #8611276 - Flags: review?(erahm)
Comment on attachment 8611276 [details] [diff] [review]
part 2 - Reduce the content process leak limit on OS X.

Review of attachment 8611276 [details] [diff] [review]:
-----------------------------------------------------------------

r=me
Attachment #8611276 - Flags: review?(erahm) → review+
(In reply to Eric Rahm [:erahm] from comment #6)
> Is this still valid?

I looked at an M3 run none of the GMP processes produced a leak log. I don't know if it still leaks or not, but realistically we can't lower the leak threshold unless we're getting logs consistently.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/eed2a8fd3e92
https://hg.mozilla.org/mozilla-central/rev/be2d54f71b51
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: