SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001699SOGoWeb Calendarpublic2012-03-15 08:202014-04-01 07:31
Reporterthierry 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.3.12 
Target VersionFixed in Version 
Summary0001699: Post unseenCount Aborted when entering webmail tab
DescriptionFrom iceweasel 10.0.2 (firefox repacked by Debian),
when some users (not all) try to go to the webmail tab, display freezes during 5 minutes. The browser becomes completely frozen. We do some debug on the client side by using Firebug (see attachement) : the unseeCount is always the one which don't complete. I think firefox timeout after 5 minutes, and after all is ok.



TagsNo tags attached.
Attached Filespng file icon sogo-unseenCount-bug.png [^] (245,574 bytes) 2012-03-15 08:20


log file icon sogo.log [^] (874,043 bytes) 2012-09-04 09:32

- Relationships Relation Graph ] Dependency Graph ]
related to 0000948new the "unseenCount" method is costly 

-  Notes
User avatar (0004158)
ludovic (administrator)
2012-07-16 09:35

What's the IMAP server you're using?

Activate all the SOGo debugging preferences (see the FAQ for this) and send the sogod.log file when this happens.
(0004423)
thierry (reporter)
2012-09-04 09:34

IMAP Server is Cyrus Imap 2.2.13 (the one of Debian Squeeze (stable) release).
I activated all debugging preferences and join the log file.
(0004426)
thierry (reporter)
2012-09-04 09:40

Same issue when using Iceweasel 10.0.7 (from Debian wheezy).
We use Cas Auth (pam-cas for imapd service).
Almost all users have no problem at all. Only the ones, which have a really big mailbox (150 K files in about 4 K directories). Is it a problem ?
I think that firefox does not handle well the answer to the unseenCount POST, but why?
User avatar (0004489)
ludovic (administrator)
2012-09-19 09:15

With 4K directories, Firefox or any other web browser probably takes minutes to render the view. Moreover, your IMAP server is probably very slow at returning the unseen count for such large user mailbox.
User avatar (0004500)
ludovic (administrator)
2012-09-20 09:07

Instead of doing a STATUS call on mailboxes (many, potentially), we could use LIST-EXTENDED and ask for the status.

This works with recent version of Dovecot and Cyrus v2.5. It would also be beneficial to SOGo's native Outlook compatibility support.
(0004540)
thierry (reporter)
2012-09-25 03:35

I unsubscribed to all my archives tree (which is nearly the same tree as INBOX, plus one folder by year and one by month, so big number of folders). unseenCount takes now about 1s, which is "costly" (like said in related bug 948), but functional.

LIST-EXTENDED seems to work with cyrus form 2.4 version (http://www.cyrusimap.org/docs/cyrus-imapd/2.4.0/changes.php [^]), not only from 2.5.
User avatar (0004541)
ludovic (administrator)
2012-09-25 06:50

LIST-EXTENDED for UNSEEN COUNT, what I'm talking about, isn't available in v2.4
(0006813)
thierry (reporter)
2014-04-01 07:27

Ok, please consider to code the feature using LIST-EXTENDED for UNSEEN COUNT.
User avatar (0006814)
ludovic (administrator)
2014-04-01 07:31

This isn't a high-priority item for us, but if you want the feature rapidly, you could sponsor it. Contact me in private if you're interested.

- Issue History
Date Modified Username Field Change
2012-03-15 08:20 thierry New Issue
2012-03-15 08:20 thierry File Added: sogo-unseenCount-bug.png
2012-07-16 09:35 ludovic Note Added: 0004158
2012-09-04 09:32 thierry File Added: sogo.log
2012-09-04 09:34 thierry Note Added: 0004423
2012-09-04 09:40 thierry Note Added: 0004426
2012-09-19 09:15 ludovic Note Added: 0004489
2012-09-20 09:06 ludovic Relationship added related to 0000948
2012-09-20 09:07 ludovic Note Added: 0004500
2012-09-25 03:35 thierry Note Added: 0004540
2012-09-25 06:50 ludovic Note Added: 0004541
2013-09-27 13:06 ludovic Severity major => feature
2014-04-01 07:27 thierry Note Added: 0006813
2014-04-01 07:31 ludovic Note Added: 0006814


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker