Hi Anuj, Firstly, you should be checking into the logs for the reason of Solr getting stopped. We had started Solr since a year ago and it's still up. I guess OOM in your case.
Secondly, there are many ways to restart solr. For example, if it's registered as a service, make a cron to restart solr whenever it's not running. But as I have said before, please look for the reason of solr getting stopped. On Tue, 17 Dec 2019 at 10:18, Anuj Bhargava <anujb...@gmail.com> wrote: > Often solr stops working. We have to then go to the root directory and give > the command *'service solr start*' > > Is there a way to automatically start solr when it stops. > > Regards, > Anuj > > > > -- -- Regards, *Paras Lehana* [65871] Development Engineer, Auto-Suggest, IndiaMART Intermesh Ltd. 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, Noida, UP, IN - 201303 Mob.: +91-9560911996 Work: 01203916600 | Extn: *8173* -- * * <https://www.facebook.com/IndiaMART/videos/578196442936091/>