Home  >  Article  >  Backend Development  >  nginx-大并发压力测试数据,求大神指导

nginx-大并发压力测试数据,求大神指导

WBOY
WBOYOriginal
2016-06-02 11:32:231608browse

nginxphp并发

首先感谢各位!

直观点线上测试数据
测试数据如下
webbench 5000并发60秒 访问txt文件
图片说明
webbench 30000并发60秒 访问txt文件
图片说明
webbench 2000并发60秒 访问php文件 只写了个phpinfo()
图片说明

webbench 10000并发60秒 访问php文件 只写了个phpinfo()
图片说明
webbench 10000并发60秒 top结果
图片说明

测试环境
cpu16核 内存64G
系统CentOS-6.5 64位
nginx/1.0.13
php5.6.7

以下问题求大神指点
1.不考虑程序性能的情况下,在这套系统内,是否还有更大的优化空间,极限能达到什么程度,如何调整?
2.在10000并发访问php的时候,服务器负载也不是很高,ssd硬盘没raid,瓶颈在哪呢?

下面附上部分配置参数
php-fpm.conf
图片说明

sysctl.conf
图片说明

nginx.conf
图片说明

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn