Comments (3)
Same issue on Yosemite (10.10.5)
Ok so quick investigations:
in core.c there is a call that sets
rlimit.rlim_cur = rlimit.rlim_max;
but rlimit.rlim_max for me is -1 somehow and this causes
setrlimit(RLIMIT_NOFILE, &rlimit)
to fail.
I hacked it by setting rlim_cur to something manual like the same value as RLIMIT_NOFILE and it appears ok.
Any ideas why these rlimit values aren't set properly?
from httperf.
I manually set the number of open file descriptors in the source to 10240 (number pulled from thin air) and this issue went away for me. Any ideas on how to detect the actual maximum number of FDs on macOS?
from httperf.
I just ran into this issue. getrlimit is returning 0x7fffffffffffffff for the rlim_max property, and when the hard limits are displayed using the csh builtin command limit -h, the number of descriptors is printed as unlimited. So I would say that this code needs to have a special case that tests for this flag value, and then sets the value to be used to some large, but reasonable value. On my system, the current soft value is 256, I'm not sure why it can't be left there...
from httperf.
Related Issues (20)
- Incompatible with OpenSSL 1.1.0 HOT 2
- Error while running "autoreconf -i" HOT 5
- httperf does not support SNI
- httperf: did not recognize arg HOT 1
- Debian stretch: SSL build failure. HOT 3
- error: ‘SSL_OP_NO_TLSv1_3’ undeclared (first use in this function) HOT 3
- EXCELLENT IDEA HOT 1
- Issues with TLS
- country TLDs not supported (eg www.xxxx.co.uk) 0.9.0 brew
- Possibility to choose TLS library
- httperf: maximum number of open descriptors = 1024 HOT 2
- does not wait for page to be produced.
- Throws invalid server when sending request to wailua or any other server HOT 1
- build error HOT 2
- --add-header does not work HOT 2
- Any way to provide data for post (json body) HOT 1
- Requests in Keep-Alive connections are not ACKed correctly
- Does httperf support multiple ports?
- http-version option does not work HOT 1
- Error: undefined reference to `SSLv3_client_method' HOT 1
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 httperf.