Summary: | many operations are very slow | ||
---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Pierre Ossman <pierre-bugzilla> |
Component: | Folders/IMAP | Assignee: | users |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.7.9 | ||
Hardware: | PC | ||
OS: | Linux |
Description
Pierre Ossman
2011-10-05 20:24:26 UTC
Sorry, misread the log files. It seems claws is waiting for the mail server: [20:32:13] IMAP4> 454 UID FETCH 249:298 (UID FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References In-Reply-To)]) [20:32:14] IMAP4< [FETCH data - 8192 bytes] [20:32:15] IMAP4< [FETCH data - 8192 bytes] [20:32:15] IMAP4< [FETCH data - 6226 bytes] [20:32:15] IMAP4> 455 UID FETCH 199:248 (UID FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date From To Cc Subject Message-ID References In-Reply-To)]) [20:32:16] IMAP4< [FETCH data - 8192 bytes] [20:32:16] IMAP4< [FETCH data - 8192 bytes] [20:32:16] IMAP4< [FETCH data - 5130 bytes] But the strace on the imap server (courier) shows that it is sending out the data right away. I guess nagle is to blame? Nagle doesn't seem to be it either. Looking at a packet trace, things just get more confusing. The delay that's seen on the higher level isn't present there. Instead, each packet from the server is sent at a 200 ms interval (with an ACK back between each packet). Given that it takes 10-20 of these packets to assemble the complete response, it adds up to the total delay seen. Ideas? :/ Not really. An interesting test would be to test another IMAP daemon (and/or another kernel ?), and to test another client (One that doesn't open multiple connections to the server). Any suggestions for such a client? The two alternative clients off the top of my head are Thunderbird and Evolution, and I think both of them open quite a few connections. Try Mutt, maybe :) Problem solved! Turned out this was the old kvm/ipv6/segment offloading bug. I managed to find it as Android did not cope as well with it as a regular Linux system. I'll just go ahead and close this issue. :) Thanks for reporting back ! |