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


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6
    • Fix Version/s: 6.6.2, 7.0.1, 7.1
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:


      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.


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

          Issue Links



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


                • Created: