> On Vas, Március 19, 2006 5:08 pm, Tomas Kuliavas wrote:
>> SquirrelMail threading code depends on IMAP server. Developers tried to
>> optimize php part in 1.5.1. Check if you can reproduce errors in 1.4.6
>> and
>>  provide full php version number.
>
> The php verion is:
> PHP 4.4.0 (cli) (built: Sep  4 2005 20:23:42)
>
> So I'we tried with SM1.4.6, but with similar result. The error message is:
> ERROR: Connection dropped by IMAP server.
> Query: THREAD REFERENCES ISO-8859-2 ALL
>
> It is strange, but the imap process is making something with the maildir
> 5-6mins long, same way as by SM1.5.1.
>
> Maybe it can be my courier, but it supports sorting, threading.
> Capabilities: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
> STARTTLS
>
> It is courier-imap 4.0.6. I'we googled a lot, but didn't find any issues
> like this.

In order to calculate threads imap server must parse all messages and
store thread data until parsing is finished. It takes lots of time and
memory. Enable info plugin in sm 1.5.1 and compare timings of SORT and
THREAD tests.

I suspect that courier hits process memory limits or php connection
timeouts. If issue is caused by PHP stream data exchange timeout, we
should find default php stream timeout value and try increasing timeout
values in php 4.3+ or at least detect dropped connection. If connection is
dropped by courier - you should be able to reproduce it by issuing
threading request in plain telnet connection to imap port.

-- 
Tomas


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to