Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16887

The new "Crash On Out Of Memory Error" capability breaks auto-restart on the docker container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • main (10.0), 9.2
    • None
    • scripts and tools
    • None

    Description

      In SOLR-8803 I changed OOME handling from a shell script to Java's CrashOnOutOfMemoryError feature.

      It was revealed that this breaks automatic restarting of Solr inside the docker container.

      This issue will change OOME handling from CrashOnOutOfMemoryError to ExitOnOutOfMemoryError.  With that option, the cause of the OOME is logged by Java to the console.  There were two primary motivations behind changing the behavior in SOLR-8803:  1) Cross-platform OOME handling.  2) Always having the cause of any OOME available.  This change will preserve both of those.

      Attachments

        1. SOLR-16887.patch
          7 kB
          Shawn Heisey
        2. SOLR-16887-1.patch
          7 kB
          Shawn Heisey
        3. SOLR-16887-2.patch
          7 kB
          Shawn Heisey
        4. SOLR-16887-3.patch
          7 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              elyograg Shawn Heisey
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: