Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-1042

Epoll spinning causes memory leak

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.13
    • Fix Version/s: 2.0.14
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Linux 2.6.18-409.el5
    • Flags:
      Important

      Description

      We get a lot of occurrences of this message : "Create a new selector. Selected is 0, delta = 0"
      accompanied with a memory leak. The SelectionKeyImpl in the fdToKey HashMap of the EPollSelectorImpl don't get remove.

      I suspect that the registerNewSelector() method in the org.apache.mina.transport.socket.nio.NioProcessor class should cancel the key.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elapierre Eric Lapierre
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: