Closed Bug 1762011 Opened 2 years ago Closed 2 years ago

Log spam from idle scheduler messages in shutdown GCs

Categories

(Core :: DOM: Content Processes, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1775076

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

I was looking at a test log and I noticed there's an immense amount of log spam from various IdleSchedule messages like this:

Child 6328, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506

The StartedGC is also present. I think this is happening due to the shutdown GCs.

This makes it harder to read logs, and makes the logs larger.

The easiest fix would be to guard these two send calls on CanSend().

Paul, could you take a look at this? Thanks.

Flags: needinfo?(pbone)
Summary: Don't send idle scheduler messages if we can't send messages → Log spam from idle scheduler messages in shutdown GCs
See Also: → 1761961
See Also: → 1761619

FYI, I see similar many warning lines (3K+) in mochitest of debug version of TB.
To wit, this is from my local log under Debian GNU/Linux:

grep WARNING: /FF-NEW/log1402-mochitest-13.txt | grep IdleScheduler | wc
   3129   50064  637281

3129 lines are tad too many IMHO.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(pbone)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.