[kmail2] [Bug 316541] akonadi_imap_resource uses 50% of one core even while KMail is shut down

Łukasz pickman at wp.pl
Tue Mar 26 20:43:55 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=316541

Łukasz <pickman at wp.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pickman at wp.pl

--- Comment #6 from Łukasz <pickman at wp.pl> ---
I confirm this problem:
$ strace -p 1879 -q -i -t
21:28:25 [      32896e998d] restart_syscall(<... resuming interrupted call
...>) = 1
21:28:25 [      3289a0e12d] read(3, "\1\0\0\0\0\0\0\0", 16) = 8
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      32896e998d] poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN},
{fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}], 5,
4294967295) = 1 ([{fd=3, revents=POLLIN}])
21:28:25 [      3289a0e12d] read(3, "\1\0\0\0\0\0\0\0", 16) = 8
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      32896e998d] poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN},
{fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}], 5,
4294967295) = 1 ([{fd=3, revents=POLLIN}])
21:28:25 [      3289a0e12d] read(3, "\1\0\0\0\0\0\0\0", 16) = 8
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      32896e998d] poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN},
{fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}], 5,
4294967295) = 1 ([{fd=3, revents=POLLIN}])
21:28:25 [      3289a0e12d] read(3, "\1\0\0\0\0\0\0\0", 16) = 8
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      3289a0e4b7] recvfrom(6, 0x1e3a1a4, 4096, 0, 0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
21:28:25 [      32896e998d] poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN},
{fd=8, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}], 5,
4294967295) = 1 ([{fd=3, revents=POLLIN}])

On the server side I see:
Mar 26 18:05:25 rut last message repeated 203 times
Mar 26 18:05:25 rut kernel: Limiting open port RST response from 228 to 200
packets/sec
Mar 26 18:05:25 rut inetd[993]: imaps from 10.84.12.122 exceeded counts/min
(limit 60/min)
Mar 26 18:05:25 rut last message repeated 65 times
Mar 26 21:16:16 rut inetd[993]: imaps from 10.84.12.122 exceeded counts/min
(limit 60/min)
Mar 26 21:26:17 rut last message repeated 59378 times

Mar 26 21:16:16 rut imapd[66678]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66679]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66680]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66681]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66682]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66683]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66684]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66685]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]
Mar 26 21:16:16 rut imapd[66686]: Unexpected client disconnect, while reading
line user=??? host=[10.84.12.122]

Some more factors:
Using self signed cert.
Imap-uw via inetd as a mail server.
There is no difference if I'll use mysql or sqlite backend.
Problem doesn't appear for other mail accounts like Gmail or MS Exchange.
PID          PENDING          BLOCKED          IGNORED           CAUGHT STAT
TTY        TIME COMMAND
3883  7.5  0.6 609084 23156 ?        Sl   21:34   0:34
/usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_0
3884  0.2  0.7 685920 26912 ?        Sl   21:34   0:01
/usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list