[Dovecot] Problem with fts lucene, on solaris 10
Pigi
pigi at frumar.it
Fri Apr 5 22:59:25 EEST 2013
Hi all,
I'm planning to migrate my courier-imap imap server to dovecot, but I'm experiencing a strange issue
with fts-lucene plugin.
Basically, every time I start a search, the log starts to write:
Apr 05 19:30:53 indexer: Error: Indexer worker disconnected, discarding 1 requests for XXXXXX
Apr 05 19:30:53 indexer-worker(XXXXX): Fatal: master: service(indexer-worker): child 809 killed with signal 11 (core not dumped)
Apr 05 19:30:53 imap(XXXXXX): Error: indexer failed to index mailbox INBOX
Apr 05 19:30:56 indexer-worker(XXXXX): Error: lucene index /home/XXXXX/Maildir/lucene-indexes: IndexWriter() failed (#1): Lock obtain timed out
When trussing the indexer-worker pid I can see it ends with:
...SNIP...
527: brk(0x005A7840) = 0
527: brk(0x005AD840) = 0
527: pread64(16, " I G E N E R I C I < /".., 8170, 24514) = 8170
527: brk(0x005AD840) = 0
527: brk(0x005B3840) = 0
527: Incurred fault #5, FLTACCESS %pc = 0xFEBD6DDC
527: siginfo: SIGBUS BUS_ADRALN addr=0x005B50BA
527: Received signal #10, SIGBUS [default]
527: siginfo: SIGBUS BUS_ADRALN addr=0x005B50BA
I cannot get a core, but either root ( user that is starting the dovecot ) than the user XXXXX have unlimited coresize
XXXXX /home/XXXXXXX > ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 256
vmemory(kbytes) unlimited
root # ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
The mailbox for user XXXXXX ( Maildir stile, for speed-up migration ) has ~ 4000 messages.
The search ends, but I think it don't use the lucene plugin ( it crashes ).
I'm sure I'm missing something, but I can't really find what.
All stuff have been self compiled, using standard flags as per "configure" scripts.
Thanks for any hint.
Pigi
here the environment:
uname -a
SunOS puma 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V240
( yes, I know, it's quite old ;) )
=======
dovecot --version
2.1.15
=======
doveconf -n
# 2.1.15: /usr/local/dovecot/etc/dovecot/dovecot.conf
# OS: SunOS 5.10 sun4u
debug_log_path = /usr/local/dovecot/var/log/dovecot-debug.log
disable_plaintext_auth = no
first_valid_uid = 100
info_log_path = /usr/local/dovecot/var/log/dovecot-info.log
log_path = /usr/local/dovecot/var/log/dovecot.log
mail_location = maildir:~/Maildir
mail_plugins = " fts fts_lucene"
namespace {
inbox = yes
location =
prefix = INBOX.
separator = .
}
passdb {
driver = pam
}
plugin {
fts = lucene
fts_lucene = whitespace_chars=@.
}
service imap-login {
inet_listener imap {
port = 144
}
}
service indexer-worker {
drop_priv_before_exec = yes
}
service pop3-login {
inet_listener pop3 {
port = 112
}
}
ssl = no
userdb {
driver = passwd
}
=============
gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
=============
clucene clucene-core-2.3.3.4
libstemmer_c
libtextcat-2.2
openssl-1.0.1e
More information about the dovecot
mailing list