Summary | High Load (not ending loop) with "corrupt" imap folders |
Queue | IMP |
Queue Version | 4.1.2 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | horde (at) immerda (dot) ch |
Created | 07/06/2006 (6911 days ago) |
Due | |
Updated | 07/07/2006 (6910 days ago) |
Assigned | |
Resolved | 07/07/2006 (6910 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
when going down a level it keeps returning information from the
previous level). And we are not going to code to check for a broken
IMAP server when the more simple (and correct) server is either
upgrade or fix the IMAP server.
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ High Load (not ending loop) with "corrupt" imap folders
Queue ⇒ IMP
system with IMP.
so i created a folder in the inbox called foo (names are anonymised)
and in this a subfolder called "bar. bla".
as bar.bla should be together i realised that this creates a new
subfolder so i wanted to delete that all and create one with "bar bla"
well i could delete them, but i got then a folder in foo in the tree
displayed which had an empty name. so i tried to delete this one.
which i couldn't do anymore. so i played around a bit more (sorry for
this description but i really can't remember anything exactly) and
then i thought ok let's go back once to the INBOX let's try it later.
after i clicked on the inbox folder it loaded and loaded and loaded.
after a while i logged into the server, looked at top and saw that one
apache process was up to nearly 100% and the load of the machine grew.
i straced this process and saw that it is always writing into the
phpError logfile of the server. in this file i got tons of these
logmessages repeated:
---
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: INBOX.foo.bar in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 691
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: c in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 724
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: p in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 725
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 726
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1328
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1275
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1438
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/imp/lib/IMAP/Tree.php on line 445
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/imp/lib/IMAP/Tree.php on line 445
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1275
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: INBOX.foo.bar in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 691
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: c in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 724
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: p in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 725
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 726
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1328
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 588
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 593
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 594
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: INBOX.foo.bar in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 691
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: c in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 724
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: p in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 725
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 726
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1328
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1275
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1438
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/imp/lib/IMAP/Tree.php on line 445
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/imp/lib/IMAP/Tree.php on line 445
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1275
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: INBOX.foo.bar in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 691
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: c in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 724
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: p in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 725
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 726
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: a in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 1328
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 588
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 593
[06-Jul-2006 16:57:04] PHP Notice: Undefined index: v in
/www/localhost/horde/lib/Horde/IMAP/Tree.php on line 594
-------
so the only chance to stop this was to restart apache. but after i
clicked again on INBOX (or went into the filter menu i.e.) the apache
process was again up to 100% and filling my logfiles.
i could rearrange it with using thunderbird to login and delete the
folders. (even thunderbird crashed once) so the problem was mostly
because of corrupt IMAP folders i think.
but i think it's a problem when IMP then comes into an endless queue,
push an apache process up to 100% and just fill the logfiles with php
warnings.
this could be used for an attack to a webserver to lock it out.