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

HELP warn: error raised: Error: accept EMFILE #1079

Closed
maxguzenski opened this issue Nov 10, 2012 · 2 comments
Closed

HELP warn: error raised: Error: accept EMFILE #1079

maxguzenski opened this issue Nov 10, 2012 · 2 comments

Comments

@maxguzenski
Copy link

Hi,
I have a webchat, running with socket.io (no redis) and express into a EC2 m1.small.
When I have 420 online users, nodejs/socket.io go in an error looping... in log I can see:

warn: error raised: Error: accept EMFILE
warn: error raised: Error: accept EMFILE
warn: error raised: Error: accept EMFILE
warn: error raised: Error: accept EMFILE
... many times ...

ubuntu upstart doesn't detect this error, and my app be in error loop forever.

I already set "ulimit -n 200000" on linux, but I not fix this issue. I changed /etc/limits.conf as well.

I use nodejs 0.8.14 and last version of socket.io

My app use less then 30% of memory and 10% of CPU.

Please, anyone can helpe me?

@reneolivo
Copy link

I also report the same issue on version 0.9.13 + Node v0.8.16

It seems multiple connections trigger this issue.

@3rd-Eden
Copy link
Contributor

Please use the google groups for questions, https://groups.google.com/forum/?fromgroups#!forum/socket_io github issues are for bugs only.

You probably set the limit incorrectly.

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