View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005269 | SOGo | Web Mail | public | 2021-03-01 08:48 | 2021-03-01 17:03 |
Reporter | Rigacci.Org | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Server | OS | Debian | OS Version | 10.8 (Buster) |
Product Version | 4.0.7 | ||||
Summary | 0005269: SOGo v4.0.7 very slow performance loading webmail home page (three times slower than v3.2.6) | ||||
Description | I just installed SOGo 4.0.7 on a new Debian 10.8 server; the server is not yet in production, so the CPU load is almost zero. Loading the home page of the webmail requires 8.8 seconds, this compares very badly with another old installation I have, where SOGo 3.2.6 requires only 2.7 seconds (and the old server has less horsepower than the old one!). How can I trace the SOGo opration to eventually discover bottlenecks? | ||||
Steps To Reproduce | Enable browser web console | ||||
Additional Information | SOGo and Dovecot log compared: SOGo says "request took 2.xxx seconds to execute", whereas Dovecot IMAP is almost instantaneous. ==== /var/log/sogo/sogo.log (SOGoDebugRequests = YES;) ==== Feb 26 18:21:30 sogod [5224]: 185.21.73.97 "GET /SOGo/so/username@example.org/Calendar/alarmslist?browserTime=1614360090 HTTP/1.1" 200 63/0 0.017 - - 0 Feb 26 18:21:32 sogod [5225]: 185.21.73.97 "POST /SOGo/so/username@example.org/Mail/0/folderDrafts/expunge HTTP/1.1" 204 0/0 2.367 - - 2M Feb 26 18:21:33 sogod [5224]: 185.21.73.97 "GET /SOGo/so/username@example.org/Mail/0/view HTTP/1.1" 200 1025/0 2.469 - - 0 Feb 26 18:21:35 sogod [5224]: 185.21.73.97 "POST /SOGo/so/username@example.org/Mail/0/folderDrafts/view HTTP/1.1" 204 0/48 2.217 - - 0 ==== /var/log/mail.log (mail_debug = yes) ==== Feb 26 18:21:31 server dovecot: imap-login: Login: user=<username@example.org> Feb 26 18:21:33 server dovecot: imap-login: Login: user=<username@example.org> Feb 26 18:21:35 server dovecot: imap-login: Login: user=<username@example.org> Feb 26 18:21:38 server dovecot: imap-login: Login: user=<username@example.org> | ||||
Tags | performance, slow, webmail | ||||
Doing an strace of the SOGo process I can see a 2 seconds pause during the IMAP login: 10:48:09.580528 sendto(10, "1 login \"username@example"..., 54, MSG_NOSIGNAL, NULL, 0) = 54 It is very strange, because talking directly to the IMAP server I cannot see any delay between the login command and the server response. |
|
Good news, finally! It turned out it was an IMAP issue indeed! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-01 08:48 | Rigacci.Org | New Issue | |
2021-03-01 08:48 | Rigacci.Org | Tag Attached: performance | |
2021-03-01 08:48 | Rigacci.Org | Tag Attached: slow | |
2021-03-01 08:48 | Rigacci.Org | Tag Attached: webmail | |
2021-03-01 11:54 | Rigacci.Org | Note Added: 0015113 | |
2021-03-01 16:54 | Rigacci.Org | Note Added: 0015115 | |
2021-03-01 17:03 | francis | Status | new => closed |
2021-03-01 17:03 | francis | Resolution | open => no change required |