您好,欢迎来到爱go旅游网。
搜索
您的当前位置:首页LINUX内核设置

LINUX内核设置

来源:爱go旅游网
LINUX内核设置

1.vi /etc/pam.d/login

# For Install Ygtfixed 'too many open file' bug, limit open max files 1024 session required /lib/security/pam_limits.so

2.vi /etc/security/limits.conf

# fixed 'too many open file' bug, limit open max files 1024 * - nofile 65535 * - nproc 65535 3.vi/etc/sysctl.conf

# fixed 'too many open file' bug, limit open max files 1024 fs.file-max = 65535

4.vi /etc/profile

# For Ygt Install if [ \\$USER = \"root\" ]; then if [ \\$SHELL = \"/bin/ksh\" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi umask 022 fi

tomcat启动报错Socket accept failed

在启动参数中添加

-Djava.net.preferIPv4Stack=true

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- igat.cn 版权所有 赣ICP备2024042791号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务