I am using Solr for some time now, and I encounter a problem with our threads.

I am running Solr cloud, having 4 collections in total, and overall about 600 
shards (each with 2 replicas) between all of the collections.

Recenently, we start getting errors of "out of memory, cannot create native 
thread", and when we took a thread dump we notice that whenever it happens we 
have cores that have 800-1000 open threads (and we observed that normally there 
are 100-500 open threads).

Of those open threads the absolute majority of them (80-90%) have the name:

"CloudSolrStream-[number]-thread-[number]-processing-n:[current-solr-live-node] 
x:[core] s:[shard] c:[collection] r:[node]"

But we checked in our logs, and there wasn't any increase in our stream 
requests (especially not a drastic increase that will cause this).

Those errors happens every day.

I would apprichiate any ideas on why does it happens, or ideas on what to look 
for

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

Reply via email to