<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 19/05/2020 17:18 Stuart Henderson <<a href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> On 2020/05/19 17:04, Aki Tuomi wrote: </div> <blockquote type="cite"> <div> On 19/05/2020 16:48 Stuart Henderson <<a href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> On 2020-05-19, David Gessel <<a href="mailto:gessel@blackrosetech.com">gessel@blackrosetech.com</a>> wrote: </div> <div> <br> </div> <div> I'm getting some log errors with clucene that I am having no luck tracking down on the </div> <div> interwebs. </div> <div> <br> </div> <div> This looks relevant: </div> <div> <br> </div> <div> <a href="https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html" rel="noopener" target="_blank">https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html</a> </div> <div> <br> </div> <div> <br> </div> <div> I am considering switch to xapian (solr and java... pls noe) as the </div> <div> port is quite tempting from an ease of integration perspective, but the </div> <div> easiest solution would be to resolve these odd indexing errors. Anyone </div> <div> have a clue? </div> <div> <br> </div> <div> dovecot-fts-xapian is easy to configure, but has a big downside compared </div> <div> to solr in that the indexer runs as root. </div> <div> <br> </div> <div> Dovecot indexer does not run as root. </div> <div> <br> </div> <div> --- </div> <div> Aki Tuomi </div> <div> <br> </div> </blockquote> <div> It does in the not entirely uncommon case where you have setup </div> <div> dovecot-fts-xapian, have multiple system users rather than a single </div> <div> uid owning all mailboxes, and need to index all mailboxes. </div> <div> <br> </div> <div> PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND </div> <div> 44468 root 2 0 11M 18M sleep/6 netio 1:41 68.36% doveadm index -A * </div> <div> <br> </div> <div> With solr the indexing is done out-of-process and typically under a </div> <div> safe uid. </div> </blockquote> <div> Thats doveadm though, not indexer. </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 19/05/2020 17:22 Aki Tuomi <aki.tuomi@open-xchange.com> wrote: </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <blockquote type="cite"> <div> On 19/05/2020 17:18 Stuart Henderson <<a href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> On 2020/05/19 17:04, Aki Tuomi wrote: </div> <blockquote type="cite"> <div> On 19/05/2020 16:48 Stuart Henderson <<a href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> On 2020-05-19, David Gessel <<a href="mailto:gessel@blackrosetech.com">gessel@blackrosetech.com</a>> wrote: </div> <div> <br> </div> <div> I'm getting some log errors with clucene that I am having no luck tracking down on the </div> <div> interwebs. </div> <div> <br> </div> <div> This looks relevant: </div> <div> <br> </div> <div> <a target="_blank" href="https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html" rel="noopener">https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html</a> </div> <div> <br> </div> <div> <br> </div> <div> I am considering switch to xapian (solr and java... pls noe) as the </div> <div> port is quite tempting from an ease of integration perspective, but the </div> <div> easiest solution would be to resolve these odd indexing errors. Anyone </div> <div> have a clue? </div> <div> <br> </div> <div> dovecot-fts-xapian is easy to configure, but has a big downside compared </div> <div> to solr in that the indexer runs as root. </div> <div> <br> </div> <div> Dovecot indexer does not run as root. </div> <div> <br> </div> <div> --- </div> <div> Aki Tuomi </div> <div> <br> </div> </blockquote> <div> It does in the not entirely uncommon case where you have setup </div> <div> dovecot-fts-xapian, have multiple system users rather than a single </div> <div> uid owning all mailboxes, and need to index all mailboxes. </div> <div> <br> </div> <div> PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND </div> <div> 44468 root 2 0 11M 18M sleep/6 netio 1:41 68.36% doveadm index -A * </div> <div> <br> </div> <div> With solr the indexing is done out-of-process and typically under a </div> <div> safe uid. </div> </blockquote> <div> Thats doveadm though, not indexer. </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </blockquote> <div> <br> </div> <div> Also if you were looking carefully what happens, you'd notice dovecot calls seteuid() before actually doing the indexing work. </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>
Benny Pedersen
2020-May-19 19:52 UTC
FTS-lucene errors : language not available for stemming
On 2020-05-19 16:22, Aki Tuomi wrote:> Thats doveadm though, not indexer.and dovecot allows it
Benny Pedersen
2020-May-19 19:56 UTC
FTS-lucene errors : language not available for stemming
On 2020-05-19 16:28, Aki Tuomi wrote:> Also if you were looking carefully what happens, you'd notice dovecot > calls seteuid() before actually doing the indexing work.would be more sense in to have a dovecot shell that all commands must be issued in, like postgresql, setuid is nice still but its not well known it happends the same as apache starts as root for port under 1024 but after start a fork that is not running as root
Reasonably Related Threads
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming