Bug 841443 - What evolution to do? (high CPU utilization after receiving all messages)
Summary: What evolution to do? (high CPU utilization after receiving all messages)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution-ews
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-19 02:46 UTC by Mikhail
Modified: 2012-07-24 07:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-19 09:24:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
htop screenshot (309.03 KB, image/png)
2012-07-19 02:46 UTC, Mikhail
no flags Details
backtrace evolution (5.00 KB, text/plain)
2012-07-19 02:47 UTC, Mikhail
no flags Details
backtrace for evolution (stuck occurs when I close evolution) (evolution-ews-3.4.3-1.8) (2.72 KB, text/plain)
2012-07-19 10:15 UTC, Mikhail
no flags Details
htop screenshot (231.69 KB, image/png)
2012-07-19 19:30 UTC, Mikhail
no flags Details
backtrace evolution (31.19 KB, text/plain)
2012-07-19 19:31 UTC, Mikhail
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 656709 0 None None None 2012-07-19 09:24:12 UTC

Description Mikhail 2012-07-19 02:46:01 UTC
Created attachment 599045 [details]
htop screenshot

Description of problem:
After all the messages was received (I know the total number of messages) Evolution a long time given high CPU utilization. I did not wait and went to bed. At morning CPU usage returned to normal. What was it? I attach also backtrace.

Comment 1 Mikhail 2012-07-19 02:47:22 UTC
Created attachment 599046 [details]
backtrace evolution

Comment 2 Mikhail 2012-07-19 02:57:48 UTC
"pool" process (23141) at htop screenshot owns to evolution. When I kill "pool" process evolution is terminated, but when I launch evolution again, I see again "pool" process and CPU utilization not stop.

Comment 3 Milan Crha 2012-07-19 08:22:14 UTC
Thanks for a bug report. The current backtrace snapshot shows each thread in idle, basically polling. This should not take any CPU, because they are basically waiting for some signal. Thread 3 has running EWS' folder updating, it's synchronizing items which changed on the server. It can take its time depending on the folder size. I do not see what folder this is about from the backtrace, though.

Comment 4 Milan Crha 2012-07-19 09:24:12 UTC
I think this is related to upstream bug [1]. I'm moving this there. I'm also building a test package [2] which should address this issue.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=656709
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=4261460

Comment 5 Milan Crha 2012-07-19 09:47:08 UTC
I'm sorry, there was a typo in the patch in the previous build ([2]). This build contains fixed patch from the upstream bug:

http://koji.fedoraproject.org/koji/taskinfo?taskID=4261734

Comment 6 Mikhail 2012-07-19 10:14:05 UTC
Great job!!!
Today I work with evolution-ews-3.4.3-1.8 and not one crash was not.

But when I tried to close the evolution for update to evolution-ews-3.4.3-1.9, evolution interface was stuck :(

I attach backtrace this case here:

Comment 7 Mikhail 2012-07-19 10:15:20 UTC
Created attachment 599107 [details]
backtrace for evolution (stuck occurs when I close evolution) (evolution-ews-3.4.3-1.8)

Comment 8 Mikhail 2012-07-19 19:30:57 UTC
Created attachment 599230 [details]
htop screenshot

Comment 9 Mikhail 2012-07-19 19:31:47 UTC
Created attachment 599231 [details]
backtrace evolution

Comment 10 Milan Crha 2012-07-24 07:25:52 UTC
Hmm, the first backtrace shows each thread idle, no operation is shown as pending or anything. the second thread shows many threads waiting for a message download, and the main thread doing window updates. Maybe that's it, the window is repainted periodically for some reason and it does it that often that it uses high CPU. That's just a guess, I cannot tell for sure from the backtraces.


Note You need to log in before you can comment on or make changes to this bug.