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

Can't connect more users #69

Closed
startsts opened this issue Jan 30, 2018 · 2 comments
Closed

Can't connect more users #69

startsts opened this issue Jan 30, 2018 · 2 comments

Comments

@startsts
Copy link

I have something like chat-socket (used chat example + ssl), currently with ~300 active users, problem happens every 1-2 hours. New users can't connect, but it doesnt disconnect already connected users although their messages also don't reach socket "handleMessage" method. Before with few users it also was happening but not so frequently.
In log file I can see only lines like that:

('78.46.227.52', 51444) connected
('78.46.227.52', 51444) closed

How to investigate details of the issue?

@dpallot
Copy link
Owner

dpallot commented Feb 7, 2019

Looks like a limitation in the number if descriptors you can have open at a time. I would suggest increasing that number in your OS.

@dpallot dpallot closed this as completed Feb 7, 2019
@uzlonewolf
Copy link

This is possibly the SSL do_handshake() hang mentioned in #13. If so, see #110 for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants