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

Always growing FD count #171

Closed
miwojs opened this issue Jan 12, 2015 · 8 comments
Closed

Always growing FD count #171

miwojs opened this issue Jan 12, 2015 · 8 comments

Comments

@miwojs
Copy link

miwojs commented Jan 12, 2015

Hello, i upgrade from 0.3.9 to 0.3.12 and problem raise up. FD growing up and when i see graph with http connections, they still going to up. Num of connections i get from:

server = http.createServer(express);
console.log(server._connections);

and result is here: http://grabberapp.com/ety45t (with 6000 users). FD count in version 0.3.9 was about 1 to 1 with online users (~6000 FD). In version 0.3.12 FD going up (last value was ~50000 and then i need restart server - max open files = 50000).

How many FD should by opened, when you have e.g. 10000 ESTABLISHED connections.
When i go down to version 0.3.9 FD ~ ESTABLISHED connections. In version 0.3.12 after few hours is 3-times greater and still go up.

@brycekahle
Copy link
Contributor

Do you know what transport it is using primarily? That would help in tracking down the issue.

@3rd-Eden
Copy link

The major difference is of course the faye-websocket version which received a major update to handle deflate.

@3rd-Eden
Copy link

See faye/faye-websocket-node#38

@renatoc
Copy link

renatoc commented Jan 20, 2015

+1

@brycekahle
Copy link
Contributor

Waiting for faye-websocket-node fix.

@lpinca
Copy link

lpinca commented Feb 22, 2015

[email protected] is out with a fix for the issue linked above.

@brycekahle
Copy link
Contributor

published to npm as 0.3.13

@3rd-Eden
Copy link

Awesome high five

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

5 participants