Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13575

DaemonStream-s should use a pool of threads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streaming expressions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ab Andrzej Bialecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: