Re: Cyrus + Xapian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 20/04/2018 à 16:18:23+0200, Robert Stepanek a écrit
Hi,

>
> Which Cyrus version are you using? Is it a packaged distribution

I'm using

  cyrus-imapd30-3.0.5_1
  xapian-core-1.4.5,1

> or are you building from source? Would you be able to inspect a

No it's packages from the distribution (in FreeBSD way).

> core dump of squatter? Do you see squatter log anything before

No dump (don't know why).

> the segfault?

No, I activate the log (syslog), and verbose. But nothing special.

The « funny » thing is, know it's absolutly sure, the first time I get a
Seg Fault, but the second time it's working perfectly....

I don't think that can be a issue but the mailbox are on ZFS partition and
everything running inside a jail (something like systemd-nspwan, lxc).

>
> I haven't seen the issue you are describing, and it certainly
> shouldn't happen. From first glance I would suspect an issue in
> the build setup or library environment, but it's hard to narrow

Ok I will review the options I choose.

> down the root cause with the current information.

One question about the way squatter/xapian/cyrus interact, but is it
possible to loose email if squatter/xapian goes to segmentation during a
incomming mail ?

Thanks for the help.

Regards.


> >
> >
> > I'm trying to configure xapian and cyrus-imapd, so I put this in
> > my config
> >
> >   sync_log: on sync_log_channels: squatter search_engine:
> >   xapian search_index_headers: no search_batchsize: 16384
> >   defaultsearchtier: t1 t1searchpartition-default: /var/imap/search
> >   conversations: on conversations_db: twoskip
> >
> > but when I launch squatter they crash randomly, meaning I can
> > launch squatter, it going to run during 10sec, sometime 30 sec,
> > after that they give a me
> >
> >   squatter[34140]: indexing mailbox user.************...
> >   Indexing mailbox user.************... Segmentation fault
> >
> > It seems (human watch) this happen only when beginning indexing
> > a new user, so I tough it's because he need to create the
> >
> >   /var/imap/search/*/user/*/xapian
> >
> > so I create all this directory....but don't seem give any
> > difference.
> >
> > But I pretty certain squatter give a segmentation fault every
> > *FIRST* time he run on a user.
> >
> > So I guessing I do something wrong dans squatter need some «
> > initialize »...
> >
> > Regards.
> >
> >
> >
> >
> > -- Albert SHIH DIO bâtiment 15 xmpp: jas@xxxxxxxx Heure
> > local/Local time: Fri Apr 20 15:30:07 CEST 2018 ---- Cyrus
> > Home Page: http://www.cyrusimap.org/ List Archives/Info:
> > http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:
> > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info:
> http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: jas@xxxxxxxx
Heure local/Local time:
Sat Apr 21 07:57:04 CEST 2018
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux