Bug 384174

Summary: kio-imap takes 50% and more of the cpu time
Product: [openSUSE] openSUSE 11.0 Reporter: Johann-Nikolaus Andreae <johann-nikolaus.andreae>
Component: KDE4 ApplicationsAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 11.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johann-Nikolaus Andreae 2008-04-27 10:46:12 UTC
Running kontact kio-imap takes 50% and more of the cpu time the hole time.
so my leptop cpu is speed up and the fan runs.

The imap resources are cached imap resources with about ~10000 E-Mails
Comment 1 Will Stephenson 2008-04-28 13:46:19 UTC
Can you attach a portion of an strace attached to the 'busy' kio_imap ?
(strace -p PID).

Does it ever end on its own?  When does it start?
Comment 2 Johann-Nikolaus Andreae 2008-04-28 15:03:21 UTC
kio_imap starts with opening kontact. current it is better but if kmail check the large folder the cpu time rise. kmail with kde3 has check with out this cpu power.

write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 943547}, NULL) = 0
gettimeofday({1209394423, 943828}, NULL) = 0
gettimeofday({1209394423, 943917}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2926\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 944519}, NULL) = 0
gettimeofday({1209394423, 946943}, NULL) = 0
gettimeofday({1209394423, 947052}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 947850}, NULL) = 0
gettimeofday({1209394423, 950277}, NULL) = 0
gettimeofday({1209394423, 950383}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2927\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 951169}, NULL) = 0
gettimeofday({1209394423, 954086}, NULL) = 0
gettimeofday({1209394423, 954491}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 956031}, NULL) = 0
gettimeofday({1209394423, 956422}, NULL) = 0
gettimeofday({1209394423, 956630}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2928\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 958972}, NULL) = 0
gettimeofday({1209394423, 961623}, NULL) = 0
gettimeofday({1209394423, 961943}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 963448}, NULL) = 0
gettimeofday({1209394423, 963805}, NULL) = 0
gettimeofday({1209394423, 963912}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2929\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 966015}, NULL) = 0
gettimeofday({1209394423, 968962}, NULL) = 0
gettimeofday({1209394423, 969282}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 970819}, NULL) = 0
gettimeofday({1209394423, 971216}, NULL) = 0
gettimeofday({1209394423, 971425}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2930\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 974089}, NULL) = 0
gettimeofday({1209394423, 979616}, NULL) = 0
gettimeofday({1209394423, 979728}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 981714}, NULL) = 0
gettimeofday({1209394423, 981907}, NULL) = 0
gettimeofday({1209394423, 981997}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2931\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 983880}, NULL) = 0
gettimeofday({1209394423, 986282}, NULL) = 0
gettimeofday({1209394423, 986388}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394423, 996995}, NULL) = 0
gettimeofday({1209394423, 997210}, NULL) = 0
gettimeofday({1209394423, 997305}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2932\r\nX-Length:"..., 51) = 51
gettimeofday({1209394423, 999572}, NULL) = 0
gettimeofday({1209394424, 2014}, NULL)  = 0
gettimeofday({1209394424, 2124}, NULL)  = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394424, 2966}, NULL)  = 0
gettimeofday({1209394424, 3115}, NULL)  = 0
gettimeofday({1209394424, 3204}, NULL)  = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     8_ b_\0\0\0\0\0\2rs", 18) = 18
gettimeofday({1209394424, 9232}, NULL)  = 0
gettimeofday({1209394424, 9345}, NULL)  = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "    29_64_X-UID: 2933\r\nX-Length:"..., 51) = 51
gettimeofday({1209394424, 10152}, NULL) = 0
gettimeofday({1209394424, 21021}, NULL) = 0
gettimeofday({1209394424, 21130}, NULL) = 0
select(6, [5], [5], NULL, NULL)         = 1 (out [5])
write(5, "     e_64_--IMAPDIGEST\r\n", 24) = 24
gettimeofday({1209394424, 21968}, NULL) = 0
gettimeofday({1209394424, 22131}, NULL) = 0
gettimeofday({1209394424, 22219}, NULL) = 0
Comment 3 Will Stephenson 2008-05-19 08:52:55 UTC
Still a problem in beta3?
Comment 4 Johann-Nikolaus Andreae 2008-05-22 14:59:46 UTC
yes it still available.
Comment 5 Will Stephenson 2008-06-06 09:03:48 UTC
Merging, apparently not a problem now though.  Please test with rc1

*** This bug has been marked as a duplicate of bug 393641 ***