jpountz commented on PR #816:
URL: https://github.com/apache/lucene/pull/816#issuecomment-1111221948

   > IMHO, Elasticserach should use fixed size threadpools (there can be many 
threads in it, the problem is huge pool that spawns new threads all the time 
and discards them because they are over minimum size).
   
   Elasticsearch uses one unbounded threadpool, but this threadpool shouldn't 
normally access analyzers or index readers. Apparently, we had a bug and we had 
this threadpool sometimes access index reader for the purpose of retrieving 
their memory usage. What is unclear is whether this is the reason why some 
users have been seeing this threadlocal behavior, or if it's something that can 
generally happen due to the fact that Elasticsearch often handles lots 
(possibly in the order of 10k) of segments per node, which translates into as 
many threadlocals for stored fields and term vectors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to