Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-646

Application pool crashes due to missing index file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Lucene.Net 3.0.3
    • Fix Version/s: None
    • Component/s: Lucene.Net Core
    • Labels:
      None
    • Environment:

      Windows Server 2016, vers 1607.

      .net version (Release value in regedit: 460805).

      Description

      This problem is critical because when it happens the application pool crashes and the entire website stops working with 503 error code.

      Errors are visible in Windows Event Log (Application), attached.

      When index files are deleted and index is rebuilt the problem goes away.

      I was not able to reproduce the problem by copying corrupted index files (also attached) to another server.

      By googling the error message it looks like it's coming from file CompoundFileReader.cs, method OpenInput.

      if (entry == null)
      throw new System.IO.IOException("No sub-file with id " + id + " found");

        Attachments

        1. prod.net.vers.jpg
          99 kB
          Jarek Bogusz
        2. e3.txt
          0.5 kB
          Jarek Bogusz
        3. e3.jpg
          106 kB
          Jarek Bogusz
        4. e2.txt
          1 kB
          Jarek Bogusz
        5. e2.jpg
          135 kB
          Jarek Bogusz
        6. e1.txt
          1 kB
          Jarek Bogusz
        7. e1.jpg
          157 kB
          Jarek Bogusz
        8. CUNY_GC.DummyIndex.crashes.zip
          3.45 MB
          Jarek Bogusz

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jbogusz Jarek Bogusz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: