On 4/14/19 4:04 PM, dovecot-request@dovecot.org wrote:
I just run with the default. 15s autoCommit and no autoSoftCommit
This thread says that dovecot is sending explicit commits.?
I see explicit /update req. with softCommit and waitSearcer=true in a tcpdump.
I run with
SOLR_JAVA_MEM="-Xmx8g -Xms2g"
I looked into the code (version 2.3.5.1):
This is 2.2.35. I haven't checked the source difference to 2.3.x I must admit.
I expect that dovecot has to because of it's default behavior by only bringing the index up-to-date just before search. So it has towait for the index result to be available if there's been any new mails indexed.
Being able to configure it is great. But I don't think it solves much. I recompiled with 100 as batch size and it still ended in timeouts. Then I recompiled with 10min timeout and now I see all the batches completing and their processesing time is mostly between 1 and 2 minutes (so all would have failed).
To me it looks like Solr just takes too long time to index. This is no small machine. It's a 20 core Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz and for this test it's not doing anything else, so I'm a bit surprised that even with only a few users this takes so long time.
/Peter
On 4/14/2019 8:59 AM, Peter Mogensen via dovecot wrote:
I run with
SOLR_JAVA_MEM="-Xmx8g -Xms2g"
Without other details, I cannot even offer a guess as to whether an 8GB heap is enough. How many documents are in all the indexes that Solr instance is handling? Can you share your solrconfig.xml file?
1 to 2 minutes for 100 documents to index would be an indication that something is very wrong with that Solr instance. It seems to me that the batch should take less than a second if there is no commit.
Thanks, Shawn
participants (2)
-
Peter Mogensen
-
Shawn Heisey