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

Support oom hook when running Solr in foreground mode

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      After reading through the comments on SOLR-8145 and from my own experience, seems like a reasonable number of people run Solr in foreground mode in production.

      To give some more context, I've seen Solr hit OOM, which leads to IW being closed by Lucene. The Solr process hangs in there and without the oom killer, while all queries continue to work, all update requests start failing.

      I think it makes sense to add support to the bin/solr script to add the oom hook when running in fg mode.

      Attachments

        1. SOLR-9177.patch
          1 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anshum Anshum Gupta
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: