Linux参数调优

打开文件

# vim /etc/security/limits.conf

*               soft    nofile           65536
*               hard    nofile           65536
*               soft    nproc            65536
*               hard    nproc            65536
*               soft    memlock          unlimited
*               hard    memlock          unlimited

# vim /etc/security/limits.d/20-nproc.conf

*            soft       nproc                 65536

重新登陆后生效

image.png

你可能感兴趣的:(Linux参数调优)