Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2190

there is thread leak when did following operations: ADD,DELETE,MODIFY,MOVE,RENAME

Attach filesAttach ScreenshotWatch issueCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M20, 2.0.0-M21, 2.0.0-M22, 2.0.0-M23
    • 2.0.0-M24
    • None
    • None
    • windows 7 ,linux.

    Description

      the org.apache.directory.server.core.event.EventInterceptor class didn't override the destory method. and the thread pool didn't call shutdown method.i think it should call thread pool's shutdown method in the inteceptor's destory method and it should call destory inteceptor in the org.apache.directory.server.core.DefaultDirectoryService's shutdown method. such as:
      public synchronized void shutdown() throws Exception
      {**********
      **************
      this.destoryInteceptors();
      }

      private void destoryInteceptors() {
      for (Interceptor interceptor : interceptors)

      { interceptor.destroy(); }

      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            paulqing paul qing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment