Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-936

Websocket does not close connections properly when the backend service url is not reachable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • Server
    • None

    Description

      When a configured back-end websocket server is not reachable or down then the Knox WebSocket implementation does not close the resources properly which causes the thread count to go up significantly eventually causing OutOfMemory errors.

      Attachments

        1. KNOX-936.001.patch
          11 kB
          Sandeep More

        Activity

          Commit 0f207409c02fff54e3fb3a5a1c0b3865ef91e7db in knox's branch refs/heads/master from moresandeep
          [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=0f20740 ]

          KNOX-936 - On websocket error properly close all the sessions and containers.

          jira-bot ASF subversion and git services added a comment - Commit 0f207409c02fff54e3fb3a5a1c0b3865ef91e7db in knox's branch refs/heads/master from moresandeep [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=0f20740 ] KNOX-936 - On websocket error properly close all the sessions and containers.

          People

            smore Sandeep More
            smore Sandeep More
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: