Hi, I recently upgraded dovecot on an OpenBSD server from the 0.99.x series to the 1.0-test series to eliminate a problem. That was fixed, however I am now experiencing issues with IMAP(S) connections. The main IMAPS use to the server is via Squirrelmail (many users login with it), however I typically use Thunderbird. The user mailboxes are stored in Maildir format. Basically, moving, deleting or copying mails tends not to work. I have managed to move mails in Thunderbird if the source mailbox is small, and deleting mails usually works in Thunderbird. However, in Squirrelmail deleting or moving results in: "ERROR : Connection dropped by imap-server. Query: COPY 5629 "<dest-mailbox>" /var/log/maillog reports: May 24 23:19:03 orca dovecot: IMAP(jmcaree): pool_system_malloc(): Out of memory The Out of memory error appears when moving mails with Thunderbird, also. I had originally upgraded to dovecot1.0-test66 via a patch supplied by an OpenBSD porter. Today I decided to compile -test70 to see if it was any better. Unfortunately, this issue still exists. I tried upgrading Squirrelmail to the latest (1.4.4 from 1.4.3a), but no luck there. Since it's happening with both it and Thunderbird, though, I don't see it being a client issue. Server is: # uname -a OpenBSD my.hostname.com 3.7 GENERIC.RAID#0 amd64 I'd appreciate any assistance or advice on this issue! Obviously, I'd prefer to not have to downgrade to the 0.99.x series. :-) I'm not subscribed to the list, so please CC me with any replies. TIA, John.
On Tue, 2005-05-24 at 23:33 +0100, John McAree wrote:> Basically, moving, deleting or copying mails tends not to work. I have > managed to move mails in Thunderbird if the source mailbox is small, and > deleting mails usually works in Thunderbird. However, in Squirrelmail > deleting or moving results in: > > "ERROR : Connection dropped by imap-server. > Query: COPY 5629 "<dest-mailbox>" > > /var/log/maillog reports: > May 24 23:19:03 orca dovecot: IMAP(jmcaree): pool_system_malloc(): Out > of memory > > The Out of memory error appears when moving mails with Thunderbird, also.Sounds a bit strange that those would eat so much memory. Have to look into it.. How large are the mailboxes where it happens? Anyway, you could disable the memory limit by setting mail_process_size = 0. The default is 256MB which should have been enough for pretty huge mailboxes. Also if it works after that change, could you tell me how large the imap process becomes? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050525/cfba7ea7/attachment-0001.bin>
Hello John, * John McAree <john at mcaree.org> [2005-05-24 23:33:00 +0100]:> /var/log/maillog reports: > May 24 23:19:03 orca dovecot: IMAP(jmcaree): pool_system_malloc(): Out > of memoryI'd suggest to check the value of mmap_no_write option in dovecot.conf as it disables the use of memory mapping, which is required in OpenBSD environments. # Don't write() to mmaped files. This is required for some operating systems # which use separate caches for them, such as OpenBSD. mmap_no_write = no I'm not sure whether this helps, but this is the first thing that came to my mind that would be related to this. Thanks, Tero -- Tero Ripattila