| Summary | recursive IMAP stat() caused by Session.php |
| Queue | IMP |
| Queue Version | 4.0.2 |
| Type | Bug |
| State | Not A Bug |
| Priority | 3. High |
| Owners | |
| Requester | mp (at) xmission (dot) com |
| Created | 03/01/2005 (7601 days ago) |
| Due | |
| Updated | 03/04/2005 (7598 days ago) |
| Assigned | |
| Resolved | 03/01/2005 (7601 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
ticket 1485.State ⇒ Not A Bug
work around that we need to implement the NAMESPACE command.
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ recursive IMAP stat() caused by Session.php
Queue ⇒ IMP
sends a LIST command to the IMAP server for all of ~/ . The IMAP
server is then forced to recursivly stat() and list every single file
in the users home directory. This causes huge decreases in speed upon
login, in some cases taking 2-3 minutes for a large home directory.
After initial login, this problem does not appear to reoccur.
I was able to work around this error by commenting out line 250 and
252 in imp/lib/Session.php:
// $box = @imap_getmailboxes($_SESSION['imp']['stream'],
IMP::serverString(), '');
and
// $box =
@imap_getmailboxes($_SESSION['imp']['stream'], IMP::serverString(),
'INBOX');
So far as I can tell, no functinoality is lost by removing these two
lines, but their inclusion causes _severe_ performance problems for
UW-IMAP users.