You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Pablo Anzorena <an...@gmail.com> on 2016/05/27 13:05:44 UTC
OutOfMemoryError does not fire the script
Hello,
I am using solr 5.2.1 in cloud mode. My jvm arguments for the
OutOfMemoryError is
-XX:OnOutOfMemoryError='/etc/init.d/solrcloud;restart'
In the Solr UI, the event is beign fired, but nothing happens.
What am I missing?
Regards.
Re: OutOfMemoryError does not fire the script
Posted by Pablo Anzorena <an...@gmail.com>.
Perfect, thank you very much.
2016-05-27 12:44 GMT-03:00 Shawn Heisey <ap...@elyograg.org>:
> On 5/27/2016 7:05 AM, Pablo Anzorena wrote:
> > I am using solr 5.2.1 in cloud mode. My jvm arguments for the
> > OutOfMemoryError is
> > -XX:OnOutOfMemoryError='/etc/init.d/solrcloud;restart'
> >
> > In the Solr UI, the event is beign fired, but nothing happens.
>
> In all versions before 5.5.1, that -XX parameter is placed incorrectly
> on the commandline, in the bin/solr script, so it doesn't work.
>
> https://issues.apache.org/jira/browse/SOLR-8145
>
> If you move the parameter so it comes before "-jar start.jar" on the
> commandline (see the newest patch attached to SOLR-8145) and restart
> Solr, it will fix this problem.
>
> Thanks,
> Shawn
>
>
Re: OutOfMemoryError does not fire the script
Posted by Shawn Heisey <ap...@elyograg.org>.
On 5/27/2016 7:05 AM, Pablo Anzorena wrote:
> I am using solr 5.2.1 in cloud mode. My jvm arguments for the
> OutOfMemoryError is
> -XX:OnOutOfMemoryError='/etc/init.d/solrcloud;restart'
>
> In the Solr UI, the event is beign fired, but nothing happens.
In all versions before 5.5.1, that -XX parameter is placed incorrectly
on the commandline, in the bin/solr script, so it doesn't work.
https://issues.apache.org/jira/browse/SOLR-8145
If you move the parameter so it comes before "-jar start.jar" on the
commandline (see the newest patch attached to SOLR-8145) and restart
Solr, it will fix this problem.
Thanks,
Shawn