I recently benchmarked node.js hello world server on OS X 10.8.3 and observed the following:
$ node hello-world.js & $ ab -n 1000 -c 10 -k -q http://127.0.0.1:8000/ # OK $ ab -n 2000 -c 10 -k -q http://127.0.0.1:8000/ # OK $ ab -n 5000 -c 10 -k -q http://127.0.0.1:8000/ # Hang out! That's probably not related to the above issue, since it's only OS X specific (other platforms are ok), but still interesting. The behavior is the same for both 0.8.x and 0.10.x. On Friday, March 22, 2013 1:26:59 AM UTC+4, Lars Jacob wrote: > > We recently encountered an issue with our node.js application (based in > express.js and socket.io). After a while the application won't respond to > any I/O or if only erratically. It still accepts tcp connections (or http > connections) but doesn't respond at all. Furthermore it can't establish > network connections to the outside world. For example we see "failed to > connect to mongodb" which is triggered by a database query which is called > within a setInterval callback. And we are seeing this logs only because > after a while the server stops to be "locked" and continues to work fine... > > Has anybody seen a similar behaviour? I know it's a pretty vague > description but until now we were unable to track this down further. Any > Ideas? > > We could reproduce this with our application in node 0.8.17 and 0.8.22 > > Thanks for your help in advance! > Lars > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
