My 1.2.13 build is giving me errors based on the same conf file that was working perfectly for 1.2.12 : Aug 18 03:28:27 IMAP(dclarke): Error: Index file too large: /var/mail/dclarke/dovecot.index Aug 18 03:28:27 IMAP(dclarke): Fatal: block_alloc(2147483648): Out of memory Aug 18 03:28:27 dovecot: Error: child 12560 (imap) returned error 83 (Out of memory - see mail_process_size setting) The file in question is 904 bytes in size : bash-4.1# ls -l /export/home/dclarke/mail/.Sent/dovecot.index -rw------- 1 dclarke csw 904 Aug 4 16:05 /export/home/dclarke/mail/.Sent/dovecot.index So this seems insane. SO I made sure the conf file had this in it : mail_process_size = 256 I then restart the daemon and see this : Aug 18 03:37:02 IMAP(dclarke): Fatal: block_alloc(1073741824): Out of memory Aug 18 03:37:02 dovecot: Error: child 12620 (imap) returned error 83 (Out of memory - see mail_process_size setting) Aug 18 03:37:07 IMAP(dclarke): Error: Index file too large: /export/home/dclarke/mail/.Sent/dovecot.index Aug 18 03:37:07 IMAP(dclarke): Warning: Created dotlock file's timestamp is different than current time (837089755 vs 1282102627): /export/home/dclarke/mail/.Sent/dovecot-uidlist Aug 18 03:37:07 IMAP(dclarke): Fatal: block_alloc(1073741824): Out of memory Aug 18 03:37:07 dovecot: Error: child 12622 (imap) returned error 83 (Out of memory - see mail_process_size setting) Aug 18 03:37:09 IMAP(dclarke): Error: Index file too large: /export/home/dclarke/mail/.Sent/dovecot.index Aug 18 03:37:09 IMAP(dclarke): Warning: Created dotlock file's timestamp is different than current time (527779909 vs 1282102629): /export/home/dclarke/mail/.Sent/dovecot-uidlist Aug 18 03:37:09 IMAP(dclarke): Fatal: block_alloc(1073741824): Out of memory Aug 18 03:37:09 dovecot: Error: child 12624 (imap) returned error 83 (Out of memory - see mail_process_size setting) Sure enough dovecot catches a timestamp issue : bash-4.1# date Wed Aug 18 03:39:24 GMT 2010 bash-4.1# ls -lapE /export/home/dclarke/mail/.Sent/dovecot-uidlist -rw------- 1 dclarke csw 1806 2010-08-16 13:52:16.442510077 +0000 /export/home/dclarke/mail/.Sent/dovecot-uidlist bash-4.1# touch /export/home/dclarke/mail/.Sent/dovecot-uidlist bash-4.1# ls -lapE /export/home/dclarke/mail/.Sent/dovecot-uidlist -rw------- 1 dclarke csw 1806 2010-08-18 03:39:53.263345256 +0000 /export/home/dclarke/mail/.Sent/dovecot-uidlist However the inability to deal with a 904 byte file is a bit of an issue here. Anyone know why mail_process_size = 256 is the wrong thing to look at ? Dennis
On Tue, 2010-08-17 at 23:44 -0400, Dennis Clarke wrote:> My 1.2.13 build is giving me errors based on the same conf file that was working perfectly for 1.2.12 : > > Aug 18 03:28:27 IMAP(dclarke): Error: Index file too large: /var/mail/dclarke/dovecot.indexThis happens when index file is larger than SSIZE_T_MAX, i.e. 2^31 in 32bit systems.> Aug 18 03:28:27 IMAP(dclarke): Fatal: block_alloc(2147483648): Out of memoryThis is also 2^31..> The file in question is 904 bytes in size : > > bash-4.1# ls -l /export/home/dclarke/mail/.Sent/dovecot.index > -rw------- 1 dclarke csw 904 Aug 4 16:05 /export/home/dclarke/mail/.Sent/dovecot.index > > So this seems insane.Yeah. Something's very wrong. It's as if stat() reports wrong file size to Dovecot.> Aug 18 03:37:07 IMAP(dclarke): Warning: Created dotlock file's timestamp is different than current time (837089755 vs 1282102627): /export/home/dclarke/mail/.Sent/dovecot-uidlist837089755 is Thu Jul 11 13:55:55 WEST 1996. That's way wrong.> bash-4.1# date > Wed Aug 18 03:39:24 GMT 2010 > > bash-4.1# ls -lapE /export/home/dclarke/mail/.Sent/dovecot-uidlist > -rw------- 1 dclarke csw 1806 2010-08-16 13:52:16.442510077 +0000 /export/home/dclarke/mail/.Sent/dovecot-uidlistIt's not about dovecot-uidlist, but about newly created dovecot-uidlist.lock file (which it since deleted). Something's just completely broken in your install.