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

"too many open files" with posting to update handler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.2
    • update
    • None

    Description

      From brian:

      1) Download trunk/nightly
      2) Change line 347 of example/solr/conf/solrconfig.xml to <requestHandler name="/update" class="solr.XmlUpdateRequestHandler">
      3) java -jar start.jar...
      3) Run post.sh a bunch of times on the same xml file... (in a shell script or whatever)
      4) After a few seconds/minutes jetty will crash with "too many open files"

      • - - - -

      all you've got to do is

      apache-solr-nightly/example/exampledocs ryan$ while [ 0 -lt 1 ]; do ./post.sh hd.xml; done

      with the request handler pointing to /update. Use

      1. lsof | grep solr | wc -l

      to watch the fdescs fly.

      Attachments

        1. SOLR-173-open-files-bug.patch
          3 kB
          Ryan McKinley
        2. SOLR-173-open-files-bug.patch
          2 kB
          Ryan McKinley
        3. SOLR-173-open-files-bug.patch
          5 kB
          Ryan McKinley

        Activity

          People

            hossman Chris M. Hostetter
            ryantxu Ryan McKinley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: