摘要:
1. 查看网络状态分布 #!/bin/sh netstat -apn 2>/dev/null | grep 5600 \ | awk 'BEGIN {printf("%-15s%-15s%-15s%-15s\n", "State", "Recv-Q", "Send-Q", "Count")} \ / 阅读全文
摘要:
centos 6.x 内核版本2.6.32以上,修改/etc/security/limits.d/90-nproc.conf:因为系统是先读/etc/security/limits.conf的值,在用/etc/security/limits.d/90-nproc.conf去覆盖,所以,仅仅更改/et 阅读全文
摘要:
使用如下参数可避免-s timeout Seconds to max. wait for each response Default is 30 seconds -k Use HTTP KeepAlive feature 阅读全文
摘要:
解释如下: Percentage of the requests served within a certain time (ms) 表示小于某一时间的请求数在全过程中的占比 update 2016年8月10日 16:55:23 Connection Times:下面这里说的靠谱: http://s 阅读全文
摘要:
转自:http://www.cnblogs.com/coldplayerest/archive/2012/06/28/2567656.html 1. 计算网络的QPS时,必须要指定并发度,否则没有意义。 2. 等式关系: QPS = 并发度 / 用户平均等待时间 QPS = 1 / 服务器平均请求处 阅读全文
摘要:
今天在用Apache自带的ab工具做以下简单的压测,本来是随便填几个参数,发现ab在1000并发以上报错:apr_socket_recv "connection reset by peer" 104 我用的是当前最新版本编译的,Apache 2.4.23 出了这样的问题,作为小白的我直接谷歌,然后百 阅读全文