[imp] IMAP uses 100% CPU, when refreshing folders

Malte Wedel ich at malte.de
Tue Jun 15 03:21:04 PDT 2004


Hello,

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.

Regards,
Malte

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



More information about the imp mailing list