You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Kirby Bohling (JIRA)" <ji...@apache.org> on 2009/07/27 01:40:15 UTC

[jira] Updated: (NUTCH-746) NutchBeanConstructor does not close NutchBean upon contextDestroyed, causing resource leak in the container.

     [ https://issues.apache.org/jira/browse/NUTCH-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirby Bohling updated NUTCH-746:
--------------------------------

    Attachment: NUTCH-746.patch

Patch to address this issue.  When combined with my NUTCH-738 patch will address the shutdown not releasing the classes and classloaders.

> NutchBeanConstructor does not close NutchBean upon contextDestroyed, causing resource leak in the container.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: NUTCH-746
>                 URL: https://issues.apache.org/jira/browse/NUTCH-746
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: 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)
>            Reporter: Kirby Bohling
>         Attachments: NUTCH-746.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.