阿帕奇基准HTTPS uncapable [英] Apache Benchmark HTTPS uncapable
问题描述
我在Ubuntu虚拟机中使用Apache 2.4.2。
我用这个来加载测试,发送请求到一些HTTPS URL。
失败的请求数是零。但没有我的要求,才能真正被处理(抬头数据库的话)。
在相同的URL,调用它通过浏览器就可以了(数据库更新)。
所以这是纯粹的Apache基准的问题。
这里是我的Apache基准命令:
I'm using Apache 2.4.2 in Ubuntu virtual machine. I use this to load test, sending request to some HTTPS url. Number of failed request is zero. But none of my request can truly be processed (looked up in database already). With the same url, invoke it through the browser is ok (database updated). So it was purely the issue of Apache Benchmark. Here's my Apache Benchmark command:
当我忽略-k参数,显示SSL连接清楚说明他们是这个问题:
SSL读取失败 - 关闭连接
连接时间(毫秒)
分钟平均[+/- SD]平均最大
连接:845 851 852 4.0 857
处理:218 232 229 20.4 286
等待:218 232 229 20.4 286
总计:1068 1083 1076 19.6 1131
有谁知道如何解决这个问题,以便我可以利用Apache的基准为我使用HTTPS负荷试验,合格,通过SSL问题?
谢谢
When I omit -k argument, SSL connection shown out clearly that they're the issue: SSL read failed - closing connection Connection Times (ms) min mean[+/-sd] median max Connect: 845 851 4.0 852 857 Processing: 218 232 20.4 229 286 Waiting: 218 232 20.4 229 286 Total: 1068 1083 19.6 1076 1131 Does anyone know how to solve this issue, in order that I can utilize Apache Benchmark for my load test with HTTPS, passing-by SSL issue ? Thanks
推荐答案
不幸的是,看起来这是一个已知的bug。
Unfortunately, it seems like this is a known bug
https://issues.apache.org/bugzilla/show_bug.cgi? ID = 49382
有一个补丁,但没有就如何运用它没有明确的指示。你可能想看看 http://jungels.net/articles/diff -PATCH-十minutes.html 作为首发。
There is a patch there but no clear instruction on how to apply it. You may want to take a look at http://jungels.net/articles/diff-patch-ten-minutes.html as a starter.
这篇关于阿帕奇基准HTTPS uncapable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!