会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
彭玉松
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
2016年8月8日
【原创】Linux常用命令记录
摘要: 1. 查看网络状态分布 #!/bin/sh netstat -apn 2>/dev/null | grep 5600 \ | awk 'BEGIN {printf("%-15s%-15s%-15s%-15s\n", "State", "Recv-Q", "Send-Q", "Count")} \ /
阅读全文
posted @ 2016-08-08 18:49 彭玉松
阅读(267)
评论(0)
推荐(0)
2016年8月6日
【原创】修改最大用户进程限制 "ulimit -u"
摘要: 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
阅读全文
posted @ 2016-08-06 17:22 彭玉松
阅读(1912)
评论(0)
推荐(0)
2016年8月5日
【原创】Apache ab出现 apr_pollset_poll: The timeout specified has expired 错误
摘要: 使用如下参数可避免-s timeout Seconds to max. wait for each response Default is 30 seconds -k Use HTTP KeepAlive feature
阅读全文
posted @ 2016-08-05 14:37 彭玉松
阅读(3481)
评论(0)
推荐(0)
【原创】Apache ab结果参数详解
摘要: 解释如下: Percentage of the requests served within a certain time (ms) 表示小于某一时间的请求数在全过程中的占比 update 2016年8月10日 16:55:23 Connection Times:下面这里说的靠谱: http://s
阅读全文
posted @ 2016-08-05 10:46 彭玉松
阅读(1068)
评论(0)
推荐(0)
【转载】QPS,用户平均等待时间,服务器平均请求处理时间
摘要: 转自:http://www.cnblogs.com/coldplayerest/archive/2012/06/28/2567656.html 1. 计算网络的QPS时,必须要指定并发度,否则没有意义。 2. 等式关系: QPS = 并发度 / 用户平均等待时间 QPS = 1 / 服务器平均请求处
阅读全文
posted @ 2016-08-05 10:03 彭玉松
阅读(1181)
评论(0)
推荐(0)
2016年8月4日
【原创】Apache ab测试时出现:apr_socket_recv "connection reset by peer" 104
摘要: 今天在用Apache自带的ab工具做以下简单的压测,本来是随便填几个参数,发现ab在1000并发以上报错:apr_socket_recv "connection reset by peer" 104 我用的是当前最新版本编译的,Apache 2.4.23 出了这样的问题,作为小白的我直接谷歌,然后百
阅读全文
posted @ 2016-08-04 18:52 彭玉松
阅读(10120)
评论(0)
推荐(1)
上一页
1
···
6
7
8
9
10
公告