lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-173) "too many open files" with posting to update handler
Date Sun, 25 Feb 2007 00:31:05 GMT

     [ https://issues.apache.org/jira/browse/SOLR-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan McKinley updated SOLR-173:
-------------------------------

    Attachment: SOLR-173-open-files-bug.patch

this patch takes care of Problem #1, it does not touch #2

closing the request object keeps the open files from stacking up.

thanks Yonik

> "too many open files" with posting to update handler
> ----------------------------------------------------
>
>                 Key: SOLR-173
>                 URL: https://issues.apache.org/jira/browse/SOLR-173
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.2
>            Reporter: Ryan McKinley
>         Attachments: SOLR-173-open-files-bug.patch, SOLR-173-open-files-bug.patch
>
>
> 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
> # lsof | grep solr | wc -l
> to watch the fdescs fly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message