[Dovecot] Possible mdbox corruption

Timo Sirainen tss at iki.fi
Fri Jan 6 13:27:41 EET 2012


On Fri, 2012-01-06 at 12:57 +0200, Timo Sirainen wrote:
> On 6.1.2012, at 12.55, Timo Sirainen wrote:
> 
> >> Jan  4 05:17:17 bubba dovecot: master: Error: service(indexer-worker): child 10896 returned error 83 (Out of memory (vsz_limit=256 MB, you may need to increase it))
> >> Jan  4 06:17:17 bubba dovecot: indexer-worker(user1 at domain.com): Fatal: pool_system_realloc(134217728): Out of memory
> > 
> > The problem is clearly that index-worker's vsz_limit is too low. Increase it (or default_vsz_limit).
> 
> Although the source of the out-of-memory
> 
> /usr/local/lib/dovecot/libdovecot.so.0(buffer_write+0x7c) [0x7f0ec1a550ec] -> /usr/local/lib/dovecot/lib21_fts_solr_plugin.so(+0x3292) [0x7f0ec024f292] -> 
> 
> is something that shouldn't really be happening. I guess the Solr plugin wastes memory unnecessarily, I'll see what I can do about it. But for now just increase vsz limit.

I don't see any obvious reason why it would be using a lot of memory,
unless you have a message that has huge (MIME) headers. See if
http://hg.dovecot.org/dovecot-2.1/rev/380b0667e0a5 helps / logs a
warning about it.





More information about the dovecot mailing list