ECONNRESET error on client when load testing node server on local network #1

Open
jasonmcaffee opened this Issue Jul 22, 2013 · 2 comments

Comments

Projects
None yet
1 participant
Owner

jasonmcaffee commented Jul 22, 2013

When doing around 400 requests to a machine running the pound server on a local network, the client will intermittently crash after receiving ECONNRESET (socket hang up on older versions of node)

https://gist.github.com/murvinlai/1032413
https://groups.google.com/forum/#!msg/nodejs/kYnfJZeqGZ4/uHVOfFneroAJ
LearnBoost/knox#116

Owner

jasonmcaffee commented Jul 27, 2013

You can use the requestsPerSecond option to throttle requests and avoid this error.
Still considering this an open issue.

Owner

jasonmcaffee commented Jul 27, 2013

Also, this will cause the client to crash from time to time. process.on('error'...) doesn't seem to be able to catch it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment