apache ab压力测试设置

ab压力测试工具设置

apr_socket_recv: Connection timed out (110)

vi /etc/sysctl.conf

net.nf_conntrack_max = 655360

net.netfilter.nf_conntrack_tcp_timeout_established = 1200

sysctl -p /etc/sysctl.conf

pache ab压力测试报错(apr_socket_recv: Connection reset by peer (104))

# vim /etc/sysctl.conf 
net.ipv4.tcp_syncookies = 0
# sysctl -p /etc/sysctl.conf
posted @ 2020-10-11 15:33  ament  阅读(281)  评论(0编辑  收藏  举报