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

High amount of items in socket.manager.closed #656

Closed
kitek opened this issue Nov 21, 2011 · 1 comment
Closed

High amount of items in socket.manager.closed #656

kitek opened this issue Nov 21, 2011 · 1 comment

Comments

@kitek
Copy link

kitek commented Nov 21, 2011

Hi, I have a question about socket.manager.closed object.
What is it for?
I count items in that way:

this.closed =  Object.keys(socket.manager.closed).length;

and after several hours I got something like that:
http://dl.dropbox.com/u/2804933/Screenshots/tj55.png
http://dl.dropbox.com/u/2804933/Screenshots/7pic.png

After reaching approximately 55k items application does not want to establish new connections.
Why in manager.js at line 429 you dont delete item instead of assign an empty array to it?

Im testing this on socket.io: v0.7.9 and v.0.8.7.

@looksgood
Copy link

that's seems a server bug

This issue was closed.
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

2 participants