摘要本文讲Linux系统参数的含义及调优,本文会持续更新。-最大文件句柄数设置a)/etc/sysctl.conffs.file-max=102400000b)/etc/security/limit.d/user.conf*hardnofile500000
*softnofile500000
roothardnofile500000
rootsoftnofile500000设置好后,需要退出terminal,或关闭se..
分类:
系统相关 时间:
2015-10-30 02:22:05
阅读次数:
482
有个站点,我用ab做压测,结果ab总是返回错误,我做了如下的一些调优,最后正常了。nginx的配置.conf:
worker_processes 32;
worker_connections 65536;过多的TIME_WAIT在压力中,通过netstat发现很多TIME_WAIT的连接描述符:netstat -n | awk '/^tcp/ {++state[$NF]}...
分类:
系统相关 时间:
2015-03-12 17:16:38
阅读次数:
180