Andrzej Bialecki  created SOLR-13575:
----------------------------------------

             Summary: DaemonStream-s should use a pool of threads
                 Key: SOLR-13575
                 URL: https://issues.apache.org/jira/browse/SOLR-13575
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: streaming expressions
            Reporter: Andrzej Bialecki 


Spin-off from SOLR-13566: currently it's possible to create unlimited number of 
DaemonStream-s, with each stream adding a single thread per core. This may 
easily lead to resource exhaustion.

DaemonStream-s should use a thread pool with limited max number of threads, 
managed by Solr (ie. created with {{ExecutorUtil}}). An open issue is where the 
pool should be created and maintained in the existing API - possible candidates 
are: CoreContainer, SolrCore, or StreamFactory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to