View Issue Details

IDProjectCategoryView StatusLast Update
0005305SOGoActiveSyncpublic2021-05-04 07:19
Reporteralessice Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformAppleOSiOSOS Version14
Product Version5.1.0 
Summary0005305: Spike of IMAP sessions at first EAS sync
Description

Hi,

after the upgrade at SOGo 5.1 (but it may have been there even before) we notice that when a new user setup their iPhone with ActiveSync protocol for the first time we have a peak of IMAP connection on IMAP server (Dovecot) during the initial synchronization.

Currently we have a limit of 50 IMAP session per IP and this limit is reached fast by SOGo. Analysing more in deep these sessions they are doing nothing, probably are open for FETCH and not close after.

Is this intentional or can be limited/fixed?

Thanks

Steps To Reproduce

Setup an iPhone with an Exchange account where the EAS server is Sogo. During the first sync (if you have at least a thousand messages) you will see a spike of IMAP session for this user on dovecot server.

TagsNo tags attached.

Activities

tfu

tfu

2021-04-28 18:50

reporter   ~0015229

Have you set NGImap4DisableIMAP4Pooling = NO?
If this parameter is set to NO (default: YES) up to 50 imap connections can be used.

alessice

alessice

2021-05-04 07:19

reporter   ~0015241

Hi,
thanks for your reply, yes I have NGImap4DisableIMAP4Pooling = NO, I don't know why. Now I remove it.
Thanks

Issue History

Date Modified Username Field Change
2021-04-23 08:13 alessice New Issue
2021-04-28 18:50 tfu Note Added: 0015229
2021-05-04 07:19 alessice Note Added: 0015241