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

spellchecker leaks file on core reload

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Component/s: spellchecker
    • Labels:
      None
    • Environment:

      linux i386 (ubuntu 8.04)

      Description

      When reloading a core of a multicore solr 1.4.0 instance with /admin/cores?action=RELOAD&core=name an extra reference to the spellchecker cfs file appears in the list of open files of the java process. A forced gc (with jconsole) does not help.

      1. SOLR-1863.patch
        3 kB
        Arne de Bruijn

        Activity

        Hide
        arbruijn Arne de Bruijn added a comment -

        This was no longer a problem with solr 1.4.1

        Show
        arbruijn Arne de Bruijn added a comment - This was no longer a problem with solr 1.4.1
        Hide
        markus17 Markus Jelsma added a comment -

        Is this still an issue in 3.3 or 4.x?

        Show
        markus17 Markus Jelsma added a comment - Is this still an issue in 3.3 or 4.x?
        Hide
        arbruijn Arne de Bruijn added a comment -

        I've created a simple (maybe too simple) patch that calls the spellchecker close method from LUCENE-2108 when a core is closed. The patch is against trunk but also applies to 1.4.0. This solves the problem for me with solr 1.4.0 and lucene 2.9.2.

        Show
        arbruijn Arne de Bruijn added a comment - I've created a simple (maybe too simple) patch that calls the spellchecker close method from LUCENE-2108 when a core is closed. The patch is against trunk but also applies to 1.4.0. This solves the problem for me with solr 1.4.0 and lucene 2.9.2.

          People

          • Assignee:
            Unassigned
            Reporter:
            arbruijn Arne de Bruijn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development