On 5/8/23 18:36, Anjali Maurya wrote:
In solr cloud cluster, we got OOM error for 3 node. When I checked the
logs, oom_solr script was executed for only 2 nodes.

I want to ask why it was executed for 2 nodes and not for 3rd node when we
got OOM error for 3 node.

How can we be sure about the oom_solr script or it there any setting we
need to do for script to run?

The oom_solr script only runs for Java OutOfMemoryError exceptions, and it does not work on Windows.

If Solr dies for some other reason, including the OOM killer built into the operating system, then the oom script included with Solr will not run.

Starting with Solr 9.2, the OOME handling is a lot better, and it works on Windows too. It's handled by Java now, not a script. But the same caveat applies for the operating system OOM killer -- there's no way Solr can detect that.

Thanks,
Shawn

Reply via email to