Solr
  1. Solr
  2. SOLR-173

"too many open files" with posting to update handler

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: update
    • Labels:
      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.

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

        Activity

          People

          • Assignee:
            Hoss Man
            Reporter:
            Ryan McKinley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development