FAQ
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Search Discussions

  • Shripad K at Sep 10, 2012 at 12:21 pm
    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 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 nodejs@googlegroups.com
    To unsubscribe from this group, send email to
    nodejs+unsubscribe@googlegroups.com
    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 nodejs@googlegroups.com
    To unsubscribe from this group, send email to
    nodejs+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/nodejs?hl=en?hl=en

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupnodejs @
categoriesnodejs
postedSep 10, '12 at 12:07p
activeSep 10, '12 at 12:21p
posts2
users2
websitenodejs.org
irc#node.js

2 users in discussion

Moritz Möller: 1 post Shripad K: 1 post

People

Translate

site design / logo © 2022 Grokbase