[Akonadi] [Bug 338370] Kmail2 (4.14rc) with gmail too many simultaneous imap connections

RJVB rjvbertin at gmail.com
Wed Aug 20 15:17:22 BST 2014


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

--- Comment #1 from RJVB <rjvbertin at gmail.com> ---
I downgraded to KDE 4.13.3, and removed,recreated the gmail account. The issue
has become much less frequent. Here's some output from netstat:

With the "too many simultaneous connections, enterpassword/try again/cancel"
alert still open:

> netstat -aeepW | fgrep imap
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 patux:57979             wi-in-f109.1e100.net:imaps
ESTABLISHED bertin     5617520     18352/akonadi_imap_
tcp        0      0 patux:57526             wi-in-f109.1e100.net:imaps
ESTABLISHED bertin     5394945     18352/akonadi_imap_
unix  3      [ ]         STREAM     CONNECTED     5392495  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392357  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392742  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392270  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392192  18352/akonadi_imap_ 

After hitting cancel, causing kmail to take the account offline:

netstat -aeepW | fgrep imap
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 patux:57526             wi-in-f109.1e100.net:imaps
TIME_WAIT   root       0           -               
unix  3      [ ]         STREAM     CONNECTED     5392495  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392357  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392742  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392270  18352/akonadi_imap_ 
unix  3      [ ]         STREAM     CONNECTED     5392192  18352/akonadi_imap_ 

In other words, taking the account offline does not cause it to close all its
connections to the server, something I'd expect.

Sending a SIGHUP to 18352 causes it to exit, and immediately thereafter I can
online the account in kmail with success.That would appear to offer at least a
suggestion for a workaround solution. The restart command in the akonadiconsole
does NOT have that effect (in fact, it rarely appears to do anything with imap
accounts ... unless they're working properly?!) but it'd be much more
convenient NOT to have to launch a separate application to correct an issue
that's apparent in kmail.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list