我正在测试eventlet,并且遇到了这个错误:
~>ab -n 10 -c 1 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)...apr_socket_recv: Connection reset by peer (54)
Total of 2 requests completed
该网站在localhost:8090/上运行且返回200 OK。
我在tomcat上也遇到了同样的问题,但该网站工作正常。
可能是什么问题呢?
ab
进行了约 16k 次请求时出现此错误,请参阅以下链接以获取解释:https://dev59.com/iF0a5IYBdhLWcg3waYGM#30357879,并查看 https://serverfault.com/a/145937/91715 以获取修复方法。 - ryenus