Arv Mistry wrote:

I have simplified my client, so all I do is connect to a server and
disconnect (i.e. call close() on session . This is triggered by command line input so that I can control it.

Do you create a new Connector for each session? Do you call dispose() on IoConnectors you no longer use?

I find when I do a lsof -p <pid> | wc -l following the
connect/disconnect, that the number goes up by 20 each time and stays
up. I'm not familiar with TCP at that low a level but it seems to be the
pipe/eventpoll instances that arent cleaned up.

This sounds like you are leaking Connectors, at least if you are using NIO.

Reply via email to