openeuler 20.03版本 修改ulimit 打开文件数配置参数后一直不生效,ulimit -n 一直显示的1024
配置方式是没问题的,需要重新登陆生效;
其他可能原因,如
1、用户登陆的某些加载文件中又指定了ulimit -n的值,如profile、bashrc
2、sshd配置文件中未启用pam模块
openeuler 20.03版本 修改ulimit 打开文件数配置参数后一直不生效,ulimit -n 一直显示的1024
配置方式是没问题的,需要重新登陆生效;
其他可能原因,如
1、用户登陆的某些加载文件中又指定了ulimit -n的值,如profile、bashrc
2、sshd配置文件中未启用pam模块