On 6/20/19 6:07 AM, @lbutlr via dovecot wrote:
Jun 19 14:47:31 <hostname> dovecot: [ID 583609 local0.error] imap(<address>): Error: mremap_anon(/var/mail/<domain>/<uname>/mailboxes/INBOX/Trash/dbox-Mails/dovecot.index.cache, 255557632) failed: Not enough space
I'm running 2.2.36.1 under Solaris 10 (patched to current) on UltraSPARC. There's plenty of memory, plenty of swap, and plenty of disk, but this is a fairly busy mail server.
Are you sure there is plenty of space on /var/mail/ ? Because that should only show up when the mount point is full.
Yes, there's about 3TB available there.
Also, what is your definition of “plenty”? (I have some index files in the 50MB range, and I am sure there are people with indexes much larger than that).
The index file in question was 255MB. In desperation, and watching the other thread going on about index files, I moved dovecot.index.cache aside and let it be re-created. No further issues have appeared in the log, and the new dovecot.index.cache file (created yesterday) has grown to about 120KB.
The spool in question was about 3GB, with about 100K messages in it. I've never seen a dovecot.index.cache file grow so large; does that seem reasonable to you?
-Dave
-- Dave McGuire, AK4HZ New Kensington, PA