Closed
Bug 488275
Opened 16 years ago
Closed 15 years ago
CPU races to about 50% when online (0 when offline)
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mozbugs, Unassigned)
Details
(Keywords: perf)
Attachments
(1 file)
(deleted),
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4pre) Gecko/20090413 Shredder/3.0b3pre
While not actually performing anything or even being logged in, Shredder is chewing CPU.
Reproducible: Always
Steps to Reproduce:
1. Start Shredder
2. Go online (cpu races)
3. Go offline (cpu calms)
2. Go online again (cpu races again)
Actual Results:
(see above)
Expected Results:
I expect the CPU to not race for my mail reader unless it is doing a lot of filtering (it wasn't doing any).
Search indexing is apparently not a factor (duh- no networking necessary). I wonder if this is related to Bug 480814.
Please provide guidance on what debugging information you would like.
Reporter | ||
Comment 1•16 years ago
|
||
Here's a log of what's going on. Could there be a polling parameter problem?
Updated•16 years ago
|
Version: unspecified → Trunk
Comment 2•16 years ago
|
||
Are you using POP3 , Imap ? Your log does not contain anything connection related.
>Could there be a polling parameter problem?
In what sense ?
Reporter | ||
Comment 3•16 years ago
|
||
I'm seeing the following in the log:
-1341116416[1225090]: calling PR_Poll [active=0 idle=0]
-1341116416[1225090]: timeout = 0 milliseconds
-1341116416[1225090]: ...returned after 0 milliseconds
and
-1341116416[1225090]: STS poll iter [1]
-1341116416[1225090]: calling PR_Poll [active=0 idle=0]
-1341116416[1225090]: timeout = -1 milliseconds
Is one of these just wrong?
Comment 4•16 years ago
|
||
It might also be interesting to run Shark on Thunderbird while it's eating CPU and see what sort of information that turns up...
Comment 5•16 years ago
|
||
(In reply to comment #4)
> It might also be interesting to run Shark on Thunderbird while it's eating CPU
> and see what sort of information that turns up...
Eliot instructions on instrumenting with shark are at https://developer.mozilla.org/En/Profiling_JavaScript_with_Shark , while builds with shark enabled are at http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.1/. Could you install one of those -shark builds and follow the instructions on the wiki - and give us the results here. If you need more help please join us online on irc.mozilla.org #maildev we'll gladly help.
Reporter | ||
Comment 6•16 years ago
|
||
This is the first time I've used Shark. Oh it's lovely to have a profiler! Thanks for the Leopard lesson! Now back to my CPU...
The new binary doesn't reproduce the problem reliably, which leads me to believe that when TB is using CPU, now it's actually doing something ;-) I'll come back in a day and see if it happens again.
Comment 7•15 years ago
|
||
If you no longer consider this to be a problem, please close WFM
Keywords: perf
Whiteboard: closeme 2009-09-21
Reporter | ||
Comment 8•15 years ago
|
||
Still occasionally see a race, but it's not associated with online/offline.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Updated•15 years ago
|
Whiteboard: closeme 2009-09-21
You need to log in
before you can comment on or make changes to this bug.
Description
•