Comments (3)
Seems like a new issue. Happened to me too, checking out a release and compiling it fixed the issue for me.
from wrk.
@defanator thank you for the issue report! wrk's error handling is currently very naive as you've noticed. It's definitely something I'm going to look into improving.
The code you've highlighted is attempting to find the correct sockaddr when resolving the target hostname. If a connect()-able address is found then wrk pretty much assumes the server will continue responding until the end of the test.
from wrk.
I've just pushed a couple of commits that address these issues. wrk will now stop once a certain number of connect, read, write and/or timeout errors (specified with --errors N, defaults to 10% of requests) occur rather than potentially continuing the test forever.
from wrk.
Related Issues (20)
- Need help in generating jwt token or hman inside request function
- wrk does not report failing connection
- wrk does not work
- Can I load test a https server with wrk? HOT 2
- Total request statistics are inaccurate
- Feature request: an example script with a pause after each request
- Any way to register a hook on response timeout?
- streaming requests and responses
- wrk 4.2.0 regression test failed with luajit 2.1.0-beta3-20230416.4 HOT 4
- how to use socks5 proxy?
- Multiple domain support
- How to compile wrk.c?
- add binaries download for windows 10/11
- Support for redirects
- support do a slow speedup on start
- Process to compile in windows 10/11 HOT 3
- What about high latency of wrk access interface on ubuntu? HOT 1
- Allow disable "keep alive" feature HOT 1
- Help needed invoking multiple addresses HOT 2
- Question of Nginx CPU usage under wrk stress test HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wrk.