Centos7 解决ab压力测试报错apr_socket_recv: Connection reset by peer (104)问题

发布时间 2023-06-27 14:29:53作者: PHP123net

# ab -n 10000 -c 10000 http://192.168.1.66/

This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.1.66 (be patient)
socket: Too many open files (24)

 

解决方案:

https://blog.csdn.net/cocos2dGirl/article/details/88842875