Hello everyone, I am writing to you because I have some trouble with how solr is managing OOM errors and how it affects my systemd service.
For a little bit of context I am running Solr 8.11.2 on ubuntu 22.04. Every few months my Solr encounters an OOM error and Solr launches the oom_solr.sh script which kills the java process running it. The problem I have is that the systemd status is still running so I am unaware of the shutdown and it doesn't restart automatically. If I restart the process using 'systemctl restart solr' everything works fine again but I have to do this manually. For me there is 2 possibilities to fix the issue : - Edit the oom_solr.sh script to include a systemctl solr restart at the end. - Mak some kind of healthcheck that restart that trigger a restart if solr doesn't respond anymore Have you ever been in a situation like me ? How did you fix it ? What is the best solution in your opinion ? Thanks in advance -- Arthur Garreau Ingénieur projet STEAMULO 06 44 12 22 49 agarr...@steamulo.com www.steamulo.com 10 rue Auber, 75009 Paris [image: LinkedIn] <https://linkedin.com/company/steamulo/> [image: Medium] <https://medium.com/steamulo-factory/> [image: Github] <https://github.com/STEAMULO> [image: Instagram] <https://instagram.com/steamulo/> [image: Facebook] <https://facebook.com/pages/category/Computer-Company/Steamulo-1121093188048265/> [image: Twitter] <https://twitter.com/steamulo>