Discussion:
[SOGo] Slow IMAP sync
Chris
2016-03-07 21:50:21 UTC
Permalink
Dear All,

sorry, many questions tonight.

Some users are subscribed to many many (small) IMAP folders and subfolders
and so on. The folder list seems to get synchronized at every login.
That's a bit slow.

Is it possible to increase IMAP caching?

- Chris
--
***@sogo.nu
https://inverse.ca/sogo/lists
Christian Mack
2016-03-08 17:15:06 UTC
Permalink
Post by Chris
Dear All,
sorry, many questions tonight.
Some users are subscribed to many many (small) IMAP folders and subfolders
and so on. The folder list seems to get synchronized at every login.
That's a bit slow.
Is it possible to increase IMAP caching?
You mean folder caching, no there is no such thing, and it would not be
reasonable to do so.
You never know, when or even if a user ever logs in again.
Also you never know, when folders are changed by another IMAP client.

But you can increase your session timeout. With that users don't get
logged out that fast.
Check /etc/cron.d/sogo --> /usr/sbin/sogo-tool expire-sessions


Kind regards,
Christian Mack
--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416
Chris
2016-03-08 19:42:43 UTC
Permalink
Post by Christian Mack
You mean folder caching, no there is no such thing, and it would not be
reasonable to do so.
You never know, when or even if a user ever logs in again.
Also you never know, when folders are changed by another IMAP client.
Ok, caching isn't a solution. Nevertheless it's far too slow. I've found
some postings on this list where other users describe the same issue.
Post by Christian Mack
But you can increase your session timeout.
That's a different matter.

Accounts with 10 or 20 folders are fast, but if there are more than 100
folders / subfolders it takes more than 5 seconds to switch from one
folder to another. Other clients like Squirrelmail or Thunderbird don't
have this issue.

- Chris
--
***@sogo.nu
https://inverse.ca/sogo/lists
mj
2016-03-09 08:11:26 UTC
Permalink
You could also try: http://www.imapproxy.org/

Perhaps it will improve your situation also.

Regards,
MJ
Post by Christian Mack
Post by Chris
Dear All,
sorry, many questions tonight.
Some users are subscribed to many many (small) IMAP folders and subfolders
and so on. The folder list seems to get synchronized at every login.
That's a bit slow.
Is it possible to increase IMAP caching?
You mean folder caching, no there is no such thing, and it would not be
reasonable to do so.
You never know, when or even if a user ever logs in again.
Also you never know, when folders are changed by another IMAP client.
But you can increase your session timeout. With that users don't get
logged out that fast.
Check /etc/cron.d/sogo --> /usr/sbin/sogo-tool expire-sessions
Kind regards,
Christian Mack
--
***@sogo.nu
https://inverse.ca/sogo/lists
Chris
2016-03-11 21:06:09 UTC
Permalink
Post by mj
You could also try: http://www.imapproxy.org/
Perhaps it will improve your situation also.
I could try that. Thank you. Have you any experience with this proxy?

I'm no programmer, but what I've seen in Firefox Debugger and Dovecot
logfile is that mail headers and folders are transfered fast, but there
seems to be a delay until they're shown in Firefox. I don't know if it's a
JavaScript issue.

Only accounts with many IMAP-folders and subfolders (100 and more) are
affected.

The POST reply to view, json, 6 KB takes almost 7 seconds. After that some
bytes are fetched from www.gravatar.com. BTW: is it possible to disable
that?

- Chris
--
***@sogo.nu
https://inverse.ca/sogo/lists
Chris
2016-03-11 21:21:38 UTC
Permalink
Post by Chris
The POST reply to view, json, 6 KB takes almost 7 seconds. After that some
bytes are fetched from www.gravatar.com. BTW: is it possible to disable
that?
My fault, that's unclear. The POST reply takes 427 ms according to
Firefox, but until gravatar.com is fetched it takes 7 seconds. During this
time there's a rotating hourglass. Mails of the selected folder aren't
shown till then.

- Chris
--
***@sogo.nu
https://inverse.ca/sogo/lists
Continue reading on narkive:
Loading...