lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anup.junagade" <>
Subject Solr 8.1.1 Indexing issue while migrating Java8 -> Java11
Date Thu, 24 Oct 2019 18:28:52 GMT
We are trying to migrate our SOLR 8.1.1 cluster from OpenJDK Java 8 to
OpenJDK Java 11 and are facing issues with Indexing. While our indexing is
happening flawlessly on Java 8, it crawls or maybe I should say it stalls
with Java 11.
Any pointers/help is appreciated.
With OpenJDK 11 and SOLR 8.1.1 we see that for the first 30 minutes response
times for updates similar to our current implementation (OpenJDK 8 and SOLR
8.1.1). It has to be noted that there are no read queries being executed at
the time of indexing
On the OpenJDK 11 implementation, the qtp active threads continuously
increasing to thousands while OpenJDK 8 implementation stops after
approximately going up to 150.
On the On the OpenJDK 11 implementation, the classes loaded start at a very
high number and stay there as opposed to  OpenJDK 8  implementation where
the number of classes loaded are small to begin with and remains under
control. I believe the qtp threads in wait state mentioned above are causing
this symptom
Attachment 1:  OpenJDK 8 vs OpenJDK 8 key metrics
Attachment 2:   OpenJDK 8 vs OpenJDK 8 waiting QTP Threads
Attachment 3:  OpenJDK 11 Thread dump
*Following are the key configuration of our application.*
Index Size: 8 GB/shard
Total no of Documents in Solr cluster: 70 Million
Average Document size: 15 KB
JSON Payload for each update contains: 50 docs
Average Time Taken to post for 50 Docs: 300 milli seconds
Average Rate at which documents are being posted to SOLR: 7500 requests per
No of shards in the Cluster: 10 (No Replicas)
CPUs: 32
Memory: 128 GB
Heap allocated: 32 GB
SOLR Client: 8.1.1
ZK Ensemble: 3
<mergePolicyFactory class="org.apache.solr.index.TieredMergePolicyFactory">
          <int name="maxMergeAtOnce">100</int>
          <int name="segmentsPerTier">150</int>
GC and ZK Settings


Sent from:

View raw message