View Issue Details

IDProjectCategoryView StatusLast Update
0004779SOGoWeb Mailpublic2019-09-12 13:54
Reporterabma Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Summary0004779: Instantly show new mails / IMAP Notify support
Description

SOGo seems to poll for new messages. As the min poll time is 1 Minute this adds in average 30 seconds of delay i guess.

Would be nice if it supports IMAP NOTIFY to instantly show new messages.

When logged in via SOGo webmail and Thunderbird, Thunderbird always shows new mails before SOGo notifies about it.

Additional Information

https://tools.ietf.org/html/rfc5465

TagsNo tags attached.

Activities

abma

abma

2019-08-30 15:50

reporter   ~0013725

it looks like SOGo logins and logouts for every request to the IMAP server.

IMHO this would require a permanent connection to the IMAP server of sogo.

very likely when this is implemented 0004789 would be fixed, too.

Did i miss a possibility to configure SOGo, so it keeps a connection to the IMAP server for better Performance?

Christian Mack

Christian Mack

2019-09-06 12:39

developer   ~0013731

Last edited: 2019-09-06 12:40

Keeping one connection per logged in user is a resource problem.
For installations with a couple of users that would be possible.
But for installations with hundreds or thousands of concurrently logged in users that would be a no go.

On our installation (approx. 20.000 users; 800+ concurrent users) we even have restricted polling to 5 minutes or longer.
No complaints so far.

abma

abma

2019-09-06 21:18

reporter   ~0013733

Keeping one connection per logged in user is a resource problem.

which resource would be the limiting factor? memory? sockets? file handles?

on our installation (approx. 200 users) we had complains about the delay :-|

Christian Mack

Christian Mack

2019-09-09 07:31

developer   ~0013734

In SOGo each persistant connection would use up one worker, like ActiveSync.
That means it uses up to SxVMemLimit of RAM per user.
Default for SxVMemLimit is 384 MB.
For 200 users this means 75 GB RAM max for SOGo alone.
You realistically need half of it for peak load.
That means you need a machine with more than 37 GB of RAM, as you need some for OS, memcached, database and your reverse proxy too.

Beware, that is for 200 clients.
But each user has normally at least 2 clients (computer/laptop and smartphone/tablet).
With that in mind, only half of your users can be concurrently online.
Or you have to provide even more RAM.

Issue History

Date Modified Username Field Change
2019-07-12 08:00 abma New Issue
2019-08-30 15:50 abma Note Added: 0013725
2019-09-06 12:39 Christian Mack Note Added: 0013731
2019-09-06 12:40 Christian Mack Note Edited: 0013731
2019-09-06 21:18 abma Note Added: 0013733
2019-09-09 07:31 Christian Mack Note Added: 0013734