I am working on a pub/sub socket , if the publisher is not responding i am disposing the sub socket and recreating the new sub socket using Netmqcontext using createSocket methord , if i run the app for few hours the Application gets terminated , i found out that m_socket count in netMQContext keep inceasing on creation of the new socket and when it reaches it's max value it is terminating the application , Is there any way i can properly dispose and receate the new socket ?
The Error Which i get is NetMQ.NetMQException :`ctx.CreateSocket(sub),max no of sockets 1024 reached
This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.
Environment
Expected behaviour
Actual behaviour
I am working on a pub/sub socket , if the publisher is not responding i am disposing the sub socket and recreating the new sub socket using Netmqcontext using createSocket methord , if i run the app for few hours the Application gets terminated , i found out that m_socket count in netMQContext keep inceasing on creation of the new socket and when it reaches it's max value it is terminating the application , Is there any way i can properly dispose and receate the new socket ?
The Error Which i get is NetMQ.NetMQException :`ctx.CreateSocket(sub),max no of sockets 1024 reached
Steps to reproduce the behaviour