You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2023/03/17 16:19:57 UTC

[solr] branch branch_9_2 updated: SOLR-8803: Remove docker OOM docs

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch branch_9_2
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9_2 by this push:
     new f556a5b985b SOLR-8803: Remove docker OOM docs
f556a5b985b is described below

commit f556a5b985b69b27b4cb9aff624b4a136b3c2e5a
Author: Houston Putman <ho...@apache.org>
AuthorDate: Fri Mar 17 11:11:38 2023 -0500

    SOLR-8803: Remove docker OOM docs
    
    (cherry picked from commit db853c8ae355789d2f4d109271c82d15f19e4f51)
---
 .../modules/deployment-guide/pages/solr-in-docker.adoc              | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
index 67fffb229e2..556af22f72c 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
@@ -337,10 +337,8 @@ If you really do not want to run `tini`, and just run Solr as PID 1 instead, the
 
 == Out of Memory Handling
 
-You can use the `OOM` environment variable to control the behaviour of the Solr JVM when an out-of-memory error occurs.
-If you specify `OOM=exit`, Solr docker will add `-XX:+ExitOnOutOfMemoryError` to the JVM arguments, so that the JVM will exit.
-If you specify `OOM=crash`, Solr docker will add `-XX:+CrashOnOutOfMemoryError` to the JVM arguments, so the JVM will crash and produces text and binary crash files (if core files are enabled).
-If you specify `OOM=script`, Solr docker will add `-XX:OnOutOfMemoryError=/opt/docker-solr/scripts/oom_solr.sh`, so the JVM will run that script (and if you want to you can mount your own in its place).
+Please refer to the xref:taking-solr-to-production.adoc#out-of-memory-handling[Out of Memory Handling] Section for more information.
+The Docker image no-longer has custom logic for OOMs.
 
 == History