I'm trying to stress test a WebSocket server using your software and when I turn the number of connections high, a considerable portion of connections are lost to EADDRNOTAVAIL (10% to 50%).
But this behavior is not consistent. And it seems like once your software hits some condition, it just quits without trying for the rest. For instance, one time I started the test for 20k connections and it took few seconds (10 or 15) to get around 10k connections before it hits the problem (EADDRNOTAVAIL) and once it did, it gave up the rest of test in matter of seconds (one or two) prompting that ~9k connections had the EADDRNOTAVAIL error!
The next time I ran the exact same test (without even restarting the server), it completed without any errors, not even a single one! Even though the mentioned problem is not consistent but it happens often enough.
I'm using thor v1.0.0 and node v0.10.25 in Ubuntu 14.04 with ulimit -n set to 200k. And here's how I run your software:
I'm trying to stress test a WebSocket server using your software and when I turn the number of connections high, a considerable portion of connections are lost to
EADDRNOTAVAIL
(10% to 50%).But this behavior is not consistent. And it seems like once your software hits some condition, it just quits without trying for the rest. For instance, one time I started the test for 20k connections and it took few seconds (10 or 15) to get around 10k connections before it hits the problem (
EADDRNOTAVAIL
) and once it did, it gave up the rest of test in matter of seconds (one or two) prompting that ~9k connections had theEADDRNOTAVAIL
error!The next time I ran the exact same test (without even restarting the server), it completed without any errors, not even a single one! Even though the mentioned problem is not consistent but it happens often enough.
I'm using thor v1.0.0 and node v0.10.25 in Ubuntu 14.04 with
ulimit -n
set to 200k. And here's how I run your software:And here's its output:
BTW, since I'm not sure if it's important or not, my WebSocket server gives back a response to the given request from your software.