使用apache benchmark(ab) 测试报错: apr_socket_recv: Connection timed out (110)
来源:互联网 发布:淘宝子账号如何设置 编辑:程序博客网 时间:2024/05/22 14:04
使用ab( apache benchmark )测试的时候,使用如下命令:
ab -n 15000 -c 200 http://localhost/abc/abc.php
执行操作一定条数,或连续执行该命令会出现如下问题:
apr_socket_recv: Connection timed out (110)
网上有说是资源描述符的问题,用ulimit -n 65536解决,试过不行。
查看系统日志:
dmesg
显示大量下面错误
nf_conntrack: table full, dropping packet.
通过google后,加入如下参数 // 需conntrack 模块
vi /etc/sysctl.confnet.nf_conntrack_max = 655360net.netfilter.nf_conntrack_tcp_timeout_established = 1200sysctl -p /etc/sysctl.conf
修改后,重新启用apache ab 进行测试,问题解决。
- 使用apache benchmark(ab) 测试报错: apr_socket_recv: Connection timed out (110)
- 使用apache benchmark(ab) 测试报错: apr_socket_recv: Connection timed out (110)
- 使用apache benchmark(ab) 测试报错: apr_socket_recv: Connection timed out (110)
- ab压力测试: apr_socket_recv: Connection timed out (110)
- ab(Apache Benchmark)运行apr_socket_recv报错
- ab(Apache Benchmark)运行apr_socket_recv报错
- Nginx报错:upstream timed out (110: Connection timed out)
- Nginx报错:upstream timed out (110: Connection timed out)
- AB 测试 apache benchmark
- nginx 报错 upstream timed out (110: Connection timed out)解决方案
- nginx日志报错upstream timed out (110: Connection timed out)
- Apache Benchmark(ab)使用
- Apache ab - apr_socket_recv: Connection reset by peer (104)
- 并发性测试AB(apache benchmark)
- web性能测试:apache benchmark(ab)
- Apache自带的 ab(apache benchmark,基准测试,压力测试)使用
- 使用apache benchmark 测试
- Nginx Upstream timed out (110: Connection timed out)
- 敏捷软件交付项目管理及相关工具
- Update large number of rows in a table [ID 268395.1]
- Android在TQ2440开发板上的移植
- nginx安装
- Oracle 中的 TO_DATE 和 TO_CHAR 函数
- 使用apache benchmark(ab) 测试报错: apr_socket_recv: Connection timed out (110)
- 分布式系统资源
- Linux 内核内存检测工具 - Kmemcheck (转)
- Linux设备驱动开发环境的搭建
- 面向对象的三个基本特征(讲解)
- 雅虎前端优化14准则
- HtmlHelper解析与View (一)
- C/C++ 语言兼容的动态数组
- DirectShow技术简介