Solr
  1. Solr
  2. SOLR-1863

spellchecker leaks file on core reload

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Arne de Bruijn made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.4.1 [ 12315096 ]
        Resolution Fixed [ 1 ]
        Hide
        Arne de Bruijn added a comment -

        This was no longer a problem with solr 1.4.1

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

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

        Show
        Markus Jelsma added a comment - Is this still an issue in 3.3 or 4.x?
        Arne de Bruijn made changes -
        Field Original Value New Value
        Attachment SOLR-1863.patch [ 12440691 ]
        Hide
        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
        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.
        Arne de Bruijn created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development