[Dovecot] Error: Index file too large ? 904 bytes ?

Dennis Clarke dclarke at blastwave.org
Wed Aug 18 06:44:18 EEST 2010


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 


More information about the dovecot mailing list