Replies: 4 comments 1 reply
-
Hi @Shazwazza 👋 If you want to push higher RPS, I'd suggest reducing the number of arrivals and using a What your test is doing at the moment is creating hundreds of new TCP connections per second to send just one GET request on each - that's a lot of overhead (and most of that work will be done by the OS - not the app). Seeing lots of connections in |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@hassy many thanks! I knew I was missing something :) I had artillery working quite a long time ago with pushing huge throughput but couldn't remember how - loops of course 🤦♂️ My nodejs version is v12.19.0 and I'm on Windows 10 Pro 20H2 With loops I know longer get the EADDRINUSE. Feel free to close unless you think that it's an issue that shouldn't really occur. Cheers! |
Beta Was this translation helpful? Give feedback.
-
The issue is windows itself. The OS has a fixed pool of total TCP connections it can handle. On windows it's about 4.000 concurrent TCP connections. After a TCP connections gets "closed" by the application, windows keeps it in As you start 200 new connections every 30 seconds, the system tries to open up 6000 TCP connections, which windows can't handle. There is no way artillery can circumvent this, other than gracefully embrace such errors or limitations and tell the user about it I guess. You can follow this documentation to fine-tune windows for load-testing. |
Beta Was this translation helpful? Give feedback.
-
I'm not a nodejs dev so I'm not entirely sure what this means but from everything I've read it seems like this shouldn't occur.
A similar issue was reported quite some time ago here #90.
I'm using the latest 1.7.2 and using this simple config:
I haven't tested if I get the same result in 1.6.x but seems quite similar to the previous report. If I run
netstat
after the run there are thousands of items inTIME_WAIT
formynews
(not sure why it's mynews?) Eventually those go away but they are created from artillery.I can't push my site it's peek without this result. I'm assuming this shouldn't occur but let me know otherwise and any tips for how I can push the RPS high enough for this page to start showing some lag.
Beta Was this translation helpful? Give feedback.
All reactions