Fixing the root cause would certainly be the best thing.However if you
still wanna tread that path, you can do a healthchek on admin endpoint and
do the thing. A simple cron job would do trick

On Thu, 4 Jun 2020 at 10:09 PM, Ryan W <rya...@gmail.com> wrote:

> Or is it not much overhead to give the command to start solr if it is
> already running?  Maybe it's not necessary to check if it's running?  Is
> there any downside to giving the start command every 15 minutes or so
> whether it is running or not?
>
> Thanks.
>
> On Thu, Jun 4, 2020 at 12:36 PM Ryan W <rya...@gmail.com> wrote:
>
> > Does anyone have a script that checks if solr is running and then starts
> > it if it isn't running?  Occasionally my solr stops running even if there
> > has been no Apache restart.  I haven't been able to determine the root
> > cause, so the next best thing might be to check every 15 minutes or so if
> > it's running and run it if it has stopped.
> >
> > Thanks.
> >
>

Reply via email to