Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-746

NutchBeanConstructor does not close NutchBean upon contextDestroyed, causing resource leak in the container.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1
    • None
    • None
    • Apache Tomcat 5.5.27 and 6.0.18, Fedora 11, OpenJDK or Sun JDK 1.6 OpenJDK 64-Bit Server VM (build 14.0-b15, mixed mode)

    • Patch Available

    Description

      NutchBeanConstructor is not cleaning up upon application shutdown (contextDestroyed()). It leaves open the SegmentUpdater, and potentially other resources. This causes the WebApp's classloader to not be able to GC'ed in Tomcat, which after repeated restarts will lead to a PermGen error.

      Attachments

        1. NUTCH-746.patch
          1 kB
          Kirby Bohling

        Activity

          People

            ab Andrzej Bialecki
            kbohling Kirby Bohling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: