[Dovecot] fts solr : out of memory

tonio at starbridge.org tonio at starbridge.org
Sun Jul 29 02:20:32 EEST 2012

Le 28/07/2012 18:34, Timo Sirainen a écrit :
> On 28.7.2012, at 19.09, Matthew Powell wrote:
>> This looks very much like an issue I've been having with fts-lucene. Indexing works (or at least completes without errors) in 2.1.7, but runs out of memory in 2.1.8.
>> doveadm -v index -u username '*' crashes with:
>> doveadm(username): Fatal: pool_system_realloc(536870912): Out of memory
> ..
>> I've posted an example message that triggers the crash here: https://www.atom.net/dovecot/testcase1.eml. That's a very contrived test case, but I've encountered the same behaviour with a real message.
> Thanks, fixed: http://hg.dovecot.org/dovecot-2.1/rev/cbd2b321a68f
Thanks Timo,
it seems ok now with memory problem, but an other error shows up:

doveadm -v index -u clxx at spamguard.fr INBOX
doveadm(clxx at spamguard.fr): Info: INBOX: Caching mails seq=1..59363
21500/59363doveadm(clxx at spamguard.fr): Error: fts_solr: Invalid XML
input at line 1: mismatched tag
doveadm(clxx at spamguard.fr): Panic: file solr-connection.c: line 545
(solr_connection_post_more): assertion failed: (maxfd >= 0)
doveadm(clxx at spamguard.fr): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x43d9a) [0x7f0fbaa87d9a] ->
[0x7f0fbaa87e5a] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f0fbaa5f62a] ->
[0x7f0fb8bef899] ->
[0x7f0fb8beca87] ->
[0x7f0fb9210dd9] ->
/usr/lib/dovecot/modules/lib20_fts_plugin.so(+0xc570) [0x7f0fb9215570]
-> doveadm() [0x412ce1] -> doveadm() [0x40fbd2] -> doveadm() [0x4105db]
-> doveadm(doveadm_mail_try_run+0x161) [0x410a41] -> doveadm(main+0x375)
[0x40f7e5] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)
[0x7f0fba6dbead] -> doveadm() [0x40f9d1]

It doesnt seems happened too often, but I've some mailboxes that cant be

More information about the dovecot mailing list