Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why NetMq Terminating the Application when the default max socket count of NetMqcontext reached? #945

Open
baranetharen opened this issue Oct 14, 2020 · 1 comment
Labels

Comments

@baranetharen
Copy link

Environment

NetMQ Version:    
Operating System: 
.NET Version:     

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

@stale
Copy link

stale bot commented Apr 17, 2022

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.

@stale stale bot added the stale label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant