Please execute echo -e "* soft nofile 20000\n* hard nofile 20000" >> /etc/security/limits.d/nofile.conf
as root in 192.168.0.208. if it dosen’t work, please check whether UsePAM is yes in /etc/ssh/sshd_config.
加了还是报错
Please execute echo -e "* soft nofile 20000\n* hard nofile 20000" >> /etc/security/limits.d/nofile.conf
as root in 192.168.0.208. if it dosen’t work, please check whether UsePAM is yes in /etc/ssh/sshd_config.
加了还是报错
https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002016079
使用unlimit -a看看是否生效了
先看看
cat /etc/ssh/sshd_config | grep UsePAM
是不是开启的,
再去服务器上
ulimit -a
看看是否生效,如果没有生效那就需要看看是不是别的配置文件里面也有 nofile
或 stack
的配置把nofile.conf里面的覆盖了
改了
读到还是默认值
把这两个也改一下试试
还是一样
要不看看/etc/security/limits.d/下面还有没有别的配置文件,如果有看看里面有没有与 与 nofile
相关的配置,会不会是冲突了