I've set up a node web server which queries several webservices at every incoming request (via http.get). When the request return the web server will return the aggregated content to the user (coordinated by async
).
Currently I'm doing about 10concurrenting requests to 8 different webservices that are as well located on the same machine. (it's a test setup)
Everything works fine when triggering the setup from the browser, but when I'm using ab
to put a little load on the system (ab -n 1500 -c 42 127.0.0.1:31330/
) after a short while I keep getting ENOBUFS
errors.
I found very little on the internet regarding this issue. Does it have to do with the fact that the connection pool of my operating system simply overloads and thus is not able to perform any more requests as well as accept any new connections? Or is it simply a windows issue that will not appear on any other unix like system? (I'm using Win 7 x64) If it has to do with connections, does this issue exist on any operating system whatever technology (node.js, python, php etc.) is used?
Update: It appears that indeed some kind of connection pool is filling up, when I got that error from node at the same time accessing any other webpage is not possible anymore.
Is there anything that can be done here?