ab (Apache Bench) The timeout specified has expired (70007)
See original GitHub issueHi;
when ab (Apache Bench) to do load testing, givin the timeout error.
The timeout specified has expired (70007)
But no error in browser.
app.py
from vibora import Vibora, JsonResponse
app = Vibora()
@app.route('/', methods=['GET'])
async def home():
return JsonResponse({'hello': 'world'})
app.run(debug=False, port=5030)
server is running.
# Vibora (0.0.7) # http://127.0.0.1:5030
ab -n 10 -c 1 -s 1000 http://127.0.0.1:5030/
This is ApacheBench, Version 2.3 <$Revision: 1796539 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
ab (Apache Bench) error: apr_poll: The timeout specified has ...
ab (Apache Bench) error: apr_poll: The timeout specified has expired (70007) on Windows · A similar thing happened to me as well. ·...
Read more >55952 – ab: SSL keep-alive fails with apr_pollset_poll
ASF Bugzilla – Bug 55952 ab: SSL keep-alive fails with apr_pollset_poll: The timeout specified has expired (70007) Last modified: 2022-01-25 ...
Read more >Apachebench on node.js server returning "apr_poll: The ...
js server returning "apr_poll: The timeout specified has expired (70007)" after ~30 requests · Ask Question. Asked 10 years, 11 months ago.
Read more >ApacheBench and timeout - Help! - HAProxy community
Hello, I'm using ApacheBench Version 2.3 to run some small tests ... apr_pollset_poll: The timeout specified has expired (70007) Total of ...
Read more >Linux学习14-ab报错apr_pollset_poll: The timeout ... - 博客园
前言使用ab压力测试时候出现报错apr_pollset_poll: The timeout specified has expired (70007),本篇总结了几个ab常见的报错和对应解决办法当.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ab does not implement http 1.1 which could be a case here. It’s sends http 1.0 requests.
For my particular needs, I have disabled the HTTP/1.0 connections on nginx through the following command in the server context.
if ($server_protocol ~* “HTTP/1.0”) { return 444; }
However, when I need to run ab, I comment out this line and reboot nginx. Then it works fine.