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

Workaround the "Four Month Bug" causing GC pause problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 5.0
    • None
    • scripts and tools
    • None

    Description

      A twitter engineer found a bug in the JVM that contributes to GC pause problems:

      http://www.evanjones.ca/jvm-mmap-pause.html

      Problem summary (in case the blog post disappears): The JVM calculates statistics on things like garbage collection and writes them to a file in the temp directory using MMAP. If there is a lot of other MMAP write activity, which is precisely how Lucene accomplishes indexing and merging, it can result in a GC pause because the mmap write to the temp file is delayed.

      We should implement the workaround in the solr start scripts (disable creation of the mmap statistics tempfile) and document the impact in CHANGES.txt.

      Attachments

        1. SOLR-7319.patch
          2 kB
          Shawn Heisey
        2. SOLR-7319.patch
          2 kB
          Shawn Heisey
        3. SOLR-7319.patch
          2 kB
          Shawn Heisey

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: