Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1120

TCPGOSSIP: socket leaks on disconnect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.8.1, 2.9
    • None
    • None

      On disconnect, TCPGOSSIP does not close the the socket to the GossipRouter (RouterStub.destroy()). On connect, however, we create a new connection.

      On multiple connects and disconnects, we leak sockets (netstat -an|grep 12001 shows a lot of ESTABLISHED sockets).

      Simple fix: call RouterStub.destroy() on disconnect.

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: