[Dovecot] 'Connection dropped by imap-server' when doing searches in
Hi,
It seems that on larger folders (32k emails) searching fails with the following error under squirrelmail 1.4.3a. (The server continues to work, as the hard drive stays on for a bit after the error is displayed)
Search Results ERROR:
ERROR : Connection dropped by imap-server. Query: SEARCH CHARSET ISO-8859-1 ALL SUBJECT {9} 5.3-BETA7 SUBJECT {9} available
Oddly enough, when searching for just '5.3-BETA7' instead of '5.3-BETA7 available' the search completes OK.
I can search with multiple strings on smaller (3k) folders however.
Thanks.
On 5.10.2004, at 02:15, Mike Jakubik wrote:
It seems that on larger folders (32k emails) searching fails with the following error under squirrelmail 1.4.3a. (The server continues to work, as the hard drive stays on for a bit after the error is displayed)
This is with 0.99.11?
ERROR : Connection dropped by imap-server.
Does server logs show that it crashed? If yes, gdb backtrace would be nice. http://dovecot.org/bugreport.html
Query: SEARCH CHARSET ISO-8859-1 ALL SUBJECT {9} 5.3-BETA7 SUBJECT {9} available
Oddly enough, when searching for just '5.3-BETA7' instead of '5.3-BETA7 available' the search completes OK.
I can search with multiple strings on smaller (3k) folders however.
It doesn't matter what the strings are and whether they're found, just that there are two of them?
Timo Sirainen said:
On 5.10.2004, at 02:15, Mike Jakubik wrote:
It seems that on larger folders (32k emails) searching fails with the following error under squirrelmail 1.4.3a. (The server continues to work, as the hard drive stays on for a bit after the error is displayed)
This is with 0.99.11?
No, i am using 0.99.10, under FreeBSD 6, compiled from the ports tree.
ERROR : Connection dropped by imap-server.
Does server logs show that it crashed? If yes, gdb backtrace would be nice. http://dovecot.org/bugreport.html
There is no evidence of the server crashing, nothing in the logs, no dumps, everything continues to work fine afterwards.
Query: SEARCH CHARSET ISO-8859-1 ALL SUBJECT {9} 5.3-BETA7 SUBJECT {9} available --- Oddly enough, when searching for just '5.3-BETA7' instead of '5.3-BETA7 available' the search completes OK. I can search with multiple strings on smaller (3k) folders however.
It doesn't matter what the strings are and whether they're found, just that there are two of them?
Thats correct. It almost seems like something is timing out. When i run the search, the disk usage goes to 100%, after about 30 seconds squirrelmail returns the obove error message, but the disk keeps on going for another 30 or so seconds. Single word searches on the other hand are almost instant, and the disk used is low (as if it used some index to perform the search, but not with two words). Let me know if you need more information.
Thanks.
On 5.10.2004, at 22:58, Mike Jakubik wrote:
Thats correct. It almost seems like something is timing out. When i run the search, the disk usage goes to 100%, after about 30 seconds squirrelmail returns the obove error message, but the disk keeps on going for another 30 or so seconds. Single word searches on the other hand are almost instant, and the disk used is low (as if it used some index to perform the search, but not with two words).
That was actually correct. With single word searches it's using cached envelopes, but with multiple words it's not for some reason and it's opening/parsing all mails separately.
I'll see if I can get around to fixing it in 0.99 series. 1.0-tests work correctly though.
participants (2)
-
Mike Jakubik
-
Timo Sirainen