Hello! I've setup dovecot a few months ago, and it was working pretty swimmingly. Then, out of nowhere, we started getting this error: Apr 21 19:15:17 IMAP(xx at xxx.com): Fatal: block_alloc(1073741824): Out of memory Apr 21 19:15:17 IMAP(xx at xxx.com): Error: Raw backtrace: imap [0x49e5e0] -> imap [0x49e643] -> imap [0x49dba1] -> imap [0x4a7f6d] -> imap [0x4a7f98] -> imap [0x4a8028] -> imap [0x49bf6f] -> imap(buffer_write+0xe4) [0x49c334] -> imap(mail_cache_lookup_headers+0x146) [0x46dcf6] -> imap [0x458162] -> imap(index_mail_get_first_header+0x45) [0x458685] -> imap [0x45fe44] -> imap [0x460008] -> imap [0x4796d1] -> imap(hash2_lookup+0x64) [0x4a1c94] -> imap(mail_index_strmap_view_sync_add+0x85) [0x47ab05] -> imap(mail_thread_init+0x2a5) [0x4602f5] -> imap(cmd_thread+0x161) [0x41f931] -> imap(cmd_uid+0x78) [0x41fb38] -> imap [0x42079c] -> imap [0x420852] -> imap(client_handle_input+0x3f) [0x42098f] -> imap(client_input+0x5f) [0x4214df] -> imap(io_loop_handler_run+0xf8) [0x4a63a8] -> imap(io_loop_run+0x1d) [0x4a54ed] -> imap(main+0x620) [0x428db0] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x3f75e1d8a4] -> imap [0x419969] Apr 21 19:15:17 dovecot: Error: child 25918 (imap) returned error 83 (Out of memory - see mail_process_size setting) The folder (which is shared) has about 8 thousand emails in it. I'm not sure if it's pertinent, but the dovecot.index.cache file is about 8MB. Help? Cheers, -- John
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 22 Apr 2010, J Contad wrote:> The folder (which is shared) has about 8 thousand emails in it. I'm not sure > if it's pertinent, but the dovecot.index.cache file is about 8MB.Did you tried to delete the dovecot.index.cache file, maybe it has been corrupted? Regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS9AQ/b+Vh58GPL/cAQIMIQf8Dx5aEnVYDkpTeY9o0y0kj/Ll9XjR6b1e Hq1kTDGgBLtxPyuhJp525BOUahQwrKGw4WVsVM4WD7bag98h1Btl16gl8GlpyW+9 MtP22Rfl9PHE7S1TW5S8TWpK2VXabj+pmOENTmUktF42uNVqgZ5gK/SMTkiMS80s YSbfbjiMh9nIk06lzXw9uOlogBdtIfFJuUkAbH9r2kut4jiSjWvrfxHfOQRYdrR1 S9tx2Jb50DGOxUpF284aaoqisAMsC3rvcNkdWsrCanpwla1xL9qPqUFkxplGyAPW m18gF2zPcMIaNVjxN0TgM7sFzNNu1oitTgp8zCcZln2E3Bx30ju3eg==1gI0 -----END PGP SIGNATURE-----
I tried deleting the file, but got pretty much the same issues. Any other hints on how else to go about it? Cheers! John On Thu, 22 Apr 2010, J Contad wrote:> The folder (which is shared) has about 8 thousand emails in it. I'm notsure> if it's pertinent, but the dovecot.index.cache file is about 8MB.Did you tried to delete the dovecot.index.cache file, maybe it has been corrupted? Regards, - -- Steffen Kaiser -- John
FYI, sorted out this issue by taking out a specific email manually. Not sure if it helps, but the email had these attributes: - X-Mailer is PHPMailer [version 1.73] - References: header is quite large, and contains email addresses external to the sender and I's conversation. Removing the email fixed the issue. -- John
On to, 2010-04-22 at 13:03 +1000, J Contad wrote:> Hello! > > I've setup dovecot a few months ago, and it was working pretty swimmingly. > Then, out of nowhere, we started getting this error: > > Apr 21 19:15:17 IMAP(xx at xxx.com): Fatal: block_alloc(1073741824): Out of > memory..> The folder (which is shared) has about 8 thousand emails in it. I'm not sure > if it's pertinent, but the dovecot.index.cache file is about 8MB.You don't still happen to have the broken dovecot.index* files?