Sounds reasonable to me; file an issue.

On Mon, Apr 4, 2016 at 7:20 AM Satinder Singh <[email protected]> wrote:

> Hi,
>     I am working on handling OOM condition in my Solr setup. On
> browsing solr 5.3.0 code, I came across file
> "solr/core/src/java/org/apache/solr/core/QuerySenderListener.java".
> Method newSearcher() in this file calls request hanlders:
>
> getCore().execute(getCore().getRequestHandler(req.getParams().get(CommonParams.QT)),
> req, rsp);
>
> I see that this method catches all exceptions and do nothing. I think
> this method gets called when I query solr and in case of OOM in a
> request handler it will consume OOM exception and thus oom script
> given in command line will not get called.
>
> Is my understanding of this code is correct?
>
> How about we throw OOM exception in this part?
>
>
> Regards,
> satti
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> --
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
http://www.solrenterprisesearchserver.com

Reply via email to