imapc making too any connections

van der Kamp, John jkamp at amazon.nl
Thu Jun 29 18:44:33 EEST 2017


Hi,

I was testing around with 2.2.31, and saw that it made new extra connections to the backend imap server whenever you make a new mailbox.
So client does:

A001 login username password
A002 create subfolder

Previously, dovecot would just send the create command to the backend, but now does (including connection IDs):

[conn1] 9 CREATE "subfolder"
[conn1] 10 EXAMINE "INBOX"
[conn2] 12 LOGIN "username" "password"
[conn2] 11 SELECT "subfolder"

The new EXAMINE Command is a bit weird, but the secondary connection is a complete waste. I also haven't seen any other action on it yet, but it's kept around. If you make more mailboxes, every time you gain an extra connection from dovecot to the backend imap server. And they all stick around. I don't know which changes this behavior triggered, there were loads of imapc fixes the last couple of releases.

John


More information about the dovecot mailing list