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

Message "Lock held by this virtual machine" during startup. Solr is trying to start some cores twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6
    • 6.6.2, 7.0.1, 7.1
    • None
    • None

    Description

      Sometimes when Solr is restarted, I get some "lock held by this virtual machine" messages in the log, and the admin UI has messages about a failure to open a new searcher. It doesn't happen on all cores, and the list of cores that have the problem changes on subsequent restarts. The cores that exhibit the problems are working just fine – the first core load is successful, the failure to open a new searcher is on a second core load attempt, which fails.

      None of the cores in the system are sharing an instanceDir or dataDir. This has been verified several times.

      The index is sharded manually, and the servers are not running in cloud mode.

      One critical detail to this issue: The cores are all perfectly functional. If somebody is seeing an error message that results in a core not working at all, then it is likely a different issue.

      Attachments

        1. SOLR-11297.patch
          4 kB
          Erick Erickson
        2. SOLR-11297.patch
          4 kB
          Erick Erickson
        3. SOLR-11297.patch
          1 kB
          Luiz Armesto
        4. SOLR-11297.sh
          1 kB
          Luiz Armesto
        5. solr6_6-startup.log
          515 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              elyograg Shawn Heisey
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: