[imp] IMAP uses 100% CPU, when refreshing folders
Jan Schneider
jan at horde.org
Tue Jun 15 03:40:38 PDT 2004
Zitat von Malte Wedel <ich at malte.de>:
> I can confirm this: When I update to revision 1.18 the problem is
> gone. When I
> add the INBOX-localization, then imapd hangs. I have no idea yet, why this is
> happening. This does not happen, when doing the same change in RELENG.
This is because we compare the mailbox element labels ($elt['l']) that are
now localised with mailbox prefixes $_prefixnodelim, $_prefix that are of
course not localized and must not.
> Zitat von AJ <aj at mindcrash.com>:
>
>> Chuck,
>> Here goes. What I did was copy revision 1.19 of Tree.php to
>> framework/IMAP/IMAP/Tree.php. This causes the error.
>> I then copied revision 1.18 of Tree.php to
>> framework/IMAP/IMAP/Tree.php. This does not cause the error.
>> I recopied revision 1.19 back to
>> framework/IMAP/IMAP/Tree.php and changed a few lines. This did not
>> cause the error. The diff is as follows:
>>
>> diff -p --unified=3 Tree.php Tree.php.119
>> --- Tree.php 2004-06-14 23:58:46.763355608 -0400
>> +++ Tree.php.119 2004-06-14 23:41:42.951998592 -0400
>> @@ -427,7 +427,11 @@ class IMAP_Tree {
>> }
>> }
>> $elt['l'] = $tmp[$elt['c']];
>> + if ($elt['l'] == 'INBOX') {
>> + $elt['l'] = _("Inbox");
>> + } else {
>> $elt['l'] = String::convertCharset($elt['l'], 'UTF7-IMAP');
>> + }
>>
>> return $elt;
>> }
>>
>>
>> This problem occurs on three separate systems, one using UW-IMAP and two
>> using Cyrus. Does this offer any help?
>>
>> Thanks.
>> AJ
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php
More information about the imp
mailing list