Whats the ulimit -n?? Looks like its too low. But nevertheless, an exception should be thrown for this.
On Mon, Sep 10, 2012 at 4:57 PM, Moritz Möller <[email protected]> wrote: > Hi, > > I'm using node.js v0.8.8 on a amd64 debian linux and running a http server > that has many connections. > I run that clustered, using the cluster module, but the same error also > happens without the cluster module. > > after a while I notice that the cpu usage of all processes goes to 100% > SYS, and strace shows: > epoll_wait(4, {{EPOLLIN, {u32=34, u64=4294967330}}}, 64, 416) = 1 > syscall_288(0x22, 0, 0, 0x80800, 0x100000022, 0xdf9420, 0x2, 0x2, 0x2, > 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, > 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2) = -1 (errno 24) > epoll_wait(4, {{EPOLLIN, {u32=34, u64=4294967330}}}, 64, 416) = 1 > syscall_288(0x22, 0, 0, 0x80800, 0x100000022, 0xdf9420, 0x2, 0x2, 0x2, > 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, > 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2) = -1 (errno 24) > > so the errno 24 (too many open files) is lost somewhere along the way, > there are no uncaught exceptions or anything like this. > > > > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
