I would really like to see the IMAP command replay for this problem. Running at trace_syslog=4 should log them.
I've also just committed a major improvement in the IMAP-APPEND code. Turned out the alarm handler was reset after every char read from the wire :-( Been testing with a 100MB message on postgresql-8.4 and append is now nice and fast. (not as fast as dbmail-2.3, but heh, I'm applying lessons learned on what is by now an older codebase). Though the problem reported in this thread is about imap-fetch I thought I should keep you posted about progress. On 07/18/2010 09:16 PM, Viktor Drachenko wrote: > > Harald is right, this problem is not in difference of mail clients. > I try to send mail via dbmail-smtp and result is the same. dbmail-imapd uses > 100% CPU. > > > Bugzilla from [email protected] wrote: >> >> Am 18.07.2010 20:25, schrieb Paul J Stevens: >>> On 07/17/2010 06:01 PM, Reindl Harald wrote: >>>> I can confirm this and it seems there are different >>>> handlings between mail-clients >>> >>> Harald, >>> >>> exactly what are you confirming? >> >> That dbmail-imapd is using 100% cpu while handling big >> attachments which needs much time. I see often long >> running imapd-processes with 100% cpu in htop >> >>> Since dbmail-lmtpd and dbmail-imapd are completely separate processes I >>> have a hard time coming up with a likely scenario that would explain the >>> behaviour described by Victor. >> >> I did not see what role dbmail-lmtp does play here? >> >>> I know that thunderbird uses chunked fetching where horde probably >>> simply downloads the full message in one go. You could test this by >>> disabling chunked-fetch in tb. In the config-editor togglle >>> >>> mail.server.defaults.fetch_by_chunks >> >> Thnak you for that information, i will test it soon >> >>> But I don't really expect that is what is causing grief for Victor. >> >> OK, maybe i did understand something wrong >> _______________________________________________ >> DBmail mailing list >> [email protected] >> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail >> >> > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
